add volume

This commit is contained in:
2021-08-11 23:01:44 +02:00
parent 08bd3071cc
commit cd0c471be9

View File

@@ -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"]