This commit is contained in:
2026-03-20 19:31:54 +01:00
parent 117e794753
commit 5b383b9fe4
25 changed files with 3270 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html/devops
EXPOSE 80

View File

@@ -0,0 +1,7 @@
server {
listen 80;
location /devops/ {
alias /usr/share/nginx/html/devops/;
try_files $uri $uri/ /devops/index.html;
}
}