Update: Test Docker Environments

This commit is contained in:
Yûki VACHOT 2022-01-13 22:05:49 +01:00
parent e3d563d58b
commit 12f71e5a7f
5 changed files with 26 additions and 12 deletions

8
frontend/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM node:current-alpine
WORKDIR /data/frontend
COPY ["package.json", "package-lock.json*", "./"]
COPY . .
RUN apk add --no-cache gettext
#RUN envsubst < environments/environment.ts > environments/environment.ts
RUN npm install --NODE_ENV
RUN npm install -g @angular/cli