deploy to test toegevoegd
This commit is contained in:
22
Dockerfile-tst
Normal file
22
Dockerfile-tst
Normal file
@@ -0,0 +1,22 @@
|
||||
# Gebruik een multi-architecture versie van Node
|
||||
FROM node:23.0.0 as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm install -g @angular/cli
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ng build --configuration=production
|
||||
|
||||
# Gebruik een multi-architecture versie van Nginx
|
||||
FROM nginx:latest
|
||||
|
||||
# Kopieer de gecompileerde bestanden van Angular naar de Nginx-webserver
|
||||
COPY --from=build app/dist/pay-point/browser /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user