diff --git a/Dockerfile b/Dockerfile index 68272a747..334173a40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,10 @@ RUN yarn --pure-lockfile COPY . . RUN yarn build && \ - yarn --production --ignore-scripts --prefer-offline + yarn --production --ignore-scripts --prefer-offline && \ + rm -rf server && \ + rm -rf shared && \ + rm -rf app ENV NODE_ENV production CMD yarn start