Trying nginx alpine again

This commit is contained in:
Aaron Louie 2020-05-20 14:19:33 -04:00
parent c901577eea
commit a7a9983a4e
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ RUN npm install && \
npm run build:$build_config npm run build:$build_config
### STAGE 2: Run ### ### STAGE 2: Run ###
FROM nginx FROM nginx:alpine
RUN set -x && apk add --update --no-cache bash libintl gettext curl
COPY --from=builder /crc-bpmn/dist/* /usr/share/nginx/html/ COPY --from=builder /crc-bpmn/dist/* /usr/share/nginx/html/
COPY --from=builder /crc-bpmn/nginx.conf /etc/nginx/conf.d/default.conf COPY --from=builder /crc-bpmn/nginx.conf /etc/nginx/conf.d/default.conf