Add frontend/minattest-app/Dockerfile

This commit is contained in:
2025-11-17 11:14:04 +00:00
parent 50bf96d672
commit 745538bc87
+16
View File
@@ -0,0 +1,16 @@
# frontend/minattest-app/Dockerfile
FROM node:20 AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:stable-alpine
WORKDIR /usr/share/nginx/html
COPY --from=build /app/dist ./
COPY nginx.conf /etc/nginx/conf.d/default.conf