mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Improve Dockerfile
This commit is contained in:
@@ -12,14 +12,12 @@ RUN yarn install
|
||||
|
||||
RUN yarn build
|
||||
|
||||
RUN cp .env build
|
||||
|
||||
WORKDIR /usr/src/artapi/build
|
||||
|
||||
RUN yarn install --production
|
||||
|
||||
RUN cp .env build
|
||||
|
||||
EXPOSE 5555
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["yarn", "start"]
|
||||
|
||||
Reference in New Issue
Block a user