mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
add volume
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FROM node:15.8.0-alpine3.10
|
||||
FROM node:16-alpine3.11
|
||||
|
||||
RUN mkdir -p /usr/src/athena
|
||||
|
||||
WORKDIR /usr/src/athena
|
||||
|
||||
COPY . /usr/src/athena
|
||||
@@ -11,10 +12,10 @@ RUN yarn build
|
||||
|
||||
WORKDIR /usr/src/athena/build
|
||||
|
||||
COPY . /usr/src/athena/build
|
||||
|
||||
RUN yarn install --production
|
||||
|
||||
EXPOSE 5555
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["yarn", "start"]
|
||||
|
||||
Reference in New Issue
Block a user