Working on dockerfile

This commit is contained in:
2021-08-11 23:22:24 +02:00
parent 4f54817482
commit 133342840e

View File

@@ -1,6 +1,7 @@
FROM node:15.8.0-alpine3.10
FROM node:16-alpine3.11
RUN mkdir -p /usr/src/ares
WORKDIR /usr/src/ares
COPY . /usr/src/ares
@@ -9,10 +10,6 @@ RUN yarn install
RUN yarn build
RUN cp .env build
EXPOSE 3333
COPY . .
CMD ["yarn", "start"]