diff --git a/Dockerfile b/Dockerfile index 4460adb0c22eb4c7c50c7dc2d468d80bcbc2b7d1..341d6b38420690be4d782e8cf0e92e6437e7cc97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # base node image -FROM node:16-bullseye-slim as base +FROM node:16-bullseye as base RUN apt-get update && apt-get install -y openssl @@ -7,13 +7,10 @@ RUN mkdir /app WORKDIR /app ENV NODE_ENV=production - - - ADD . . RUN yarn install --production RUN mkdir ./server-files RUN mkdir ./user-files -CMD ["yarn", "start"] \ No newline at end of file +CMD ["yarn", "start"]