diff --git a/Dockerfile b/Dockerfile index a39600324..21c55c843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,10 @@ FROM node:12.18-alpine COPY . /app WORKDIR /app -RUN yarn && \ +RUN yarn --frozen-lockfile && \ yarn build +# remove development dependencies +RUN npm prune --production + CMD yarn start