Try to fix build issues

This commit is contained in:
Grzegorz Leoniec 2019-01-12 15:50:51 +01:00
parent f4f69cfe0f
commit aa9cfceba9
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -14,6 +14,7 @@ CMD ["yarn", "run", "start"]
FROM base as builder
RUN yarn install --frozen-lockfile --non-interactive
COPY . .
RUN cp .env.template .env
RUN yarn run build
# reduce image size with a multistage build