From 745538bc87eaa5340e1cc1e9d0a25066ddfbc3ec Mon Sep 17 00:00:00 2001 From: Stein Helge Riise Date: Mon, 17 Nov 2025 11:14:04 +0000 Subject: [PATCH] Add frontend/minattest-app/Dockerfile --- frontend/minattest-app/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 frontend/minattest-app/Dockerfile diff --git a/frontend/minattest-app/Dockerfile b/frontend/minattest-app/Dockerfile new file mode 100644 index 0000000..71dfc6d --- /dev/null +++ b/frontend/minattest-app/Dockerfile @@ -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