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