initial commit

This commit is contained in:
2022-12-22 16:38:25 +01:00
commit a3f54bb537
143 changed files with 24386 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
FROM node:lts-alpine AS build-env
WORKDIR /app
COPY ./package.json ./
COPY ./package-lock.json ./
RUN npm ci
COPY ./ ./
ARG ARG_APP_VERSION
ENV APP_VERSION=$ARG_APP_VERSION
RUN npm version -no-git-tag-version $APP_VERSION
RUN node ./node_modules/@angular/cli/bin/ng build mastolists --configuration=staging
FROM nginx:alpine
LABEL author="Novaloop AG"
COPY --from=build-env /app/dist/mastolists /usr/share/nginx/html
COPY ./deployment/nginx.conf /etc/nginx/conf.d/default.conf