rename Dockerfile to Containerfile and integrate kontor-angular in pod kontor

This commit is contained in:
2026-04-17 00:18:50 +02:00
parent a68dd05794
commit e09f7cddf3
+14
View File
@@ -0,0 +1,14 @@
### STAGE 1: Build ###
FROM node:22.15-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
RUN npm run build
### STAGE 2: Run ###
FROM nginx:1.17.1-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist/kontor-angular/browser /usr/share/nginx/html
EXPOSE 80