Skip to content
Snippets Groups Projects
Unverified Commit f6297f7f authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #52 from FZJ-INM1-BDA/chore/dockerImageForCD

fix docker file for CD
parents fe79be30 f83ac265
No related branches found
No related tags found
No related merge requests found
FROM node:10 as builder
FROM node:12 as builder
ARG BACKEND_URL
ENV BACKEND_URL=${BACKEND_URL}
......@@ -19,7 +19,7 @@ RUN npm i
RUN npm run build-aot
# gzipping container
FROM ubuntu:18.10 as compressor
FROM ubuntu:19.10 as compressor
RUN apt upgrade -y && apt update && apt install brotli
RUN mkdir /iv
......@@ -29,7 +29,7 @@ WORKDIR /iv
RUN for f in $(find . -type f); do gzip < $f > $f.gz && brotli < $f > $f.br; done
# prod container
FROM node:10-alpine
FROM node:12-alpine
ENV NODE_ENV=production
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment