Cleaned up gitlab-ci and Dockerfile

This commit is contained in:
2019-05-03 16:34:03 +01:00
parent 7f048ae31f
commit 2bfe860d73
2 changed files with 0 additions and 6 deletions

View File

@@ -7,13 +7,8 @@ COPY ["package.json", "./"]
COPY ["package-lock.json", "./"]
FROM base AS builder
# ENV PARCEL_WORKERS=2
RUN npm set progress=false && npm config set depth 0 && npm install
COPY ["src/", "./src"]
# ARG VERSION=Missing
# ENV VERSION=$VERSION
# ARG COMMIT=Missing
# ENV COMMIT=$COMMIT
RUN npm run Prod
FROM nginx:1.14.1-alpine as Web