integration von kontor-angular

This commit is contained in:
2026-04-18 00:29:25 +02:00
parent e09f7cddf3
commit 57129c2d37
5 changed files with 29 additions and 3 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
### STAGE 1: Build ###
FROM node:22.15-alpine AS build
FROM docker.io/node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
@@ -7,8 +7,9 @@ COPY . .
RUN npm run build
### STAGE 2: Run ###
FROM nginx:1.17.1-alpine
FROM docker.io/library/nginx:stable-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/kontor-angular/browser /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
+1
View File
@@ -1,4 +1,5 @@
server {
listen 8800;
# Root-Verzeichnis für den Server setzen (wir kopieren unsere Anwendung hierher)
root /usr/share/nginx/html;