update dockerfile to include nginx configuration
Some checks failed
Build and Deploy Client / build-and-deploy (push) Failing after 3s

This commit is contained in:
2026-08-25 22:40:21 -05:00
parent 820e345a17
commit 64454d0b94

View File

@@ -8,6 +8,14 @@ RUN npm install
COPY . .
RUN npm run build -- --configuration production
# nginx
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
# serve app
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]