diff --git a/deploy/Dockerfile b/deploy/Dockerfile index bdb1577..ad8b04e 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -13,7 +13,7 @@ RUN npm install --only=production COPY client/ ./ # Prime the front-end build to find the back-end at /api. ENV REACT_APP_BACKEND "/api" -RUN npm run-script build +RUN GENERATE_SOURCEMAP=false npm run-script build FROM node:12-alpine @@ -49,4 +49,4 @@ ENV FRONTEND_PREFIX "/" ENV FRONTEND "/opt/mudbase/frontend" ENV NODE_ENV "production" ENV ENVIRONMENT "production" -ENTRYPOINT './run.sh' \ No newline at end of file +ENTRYPOINT './run.sh'