mirror of
https://github.com/CorentinTh/it-tools.git
synced 2026-04-24 22:25:22 +00:00
fix(docker): nginx config to redirect to index.html
This commit is contained in:
committed by
Corentin THOMASSET
parent
c339ab3551
commit
972ffe6f69
@@ -9,5 +9,6 @@ RUN pnpm build
|
||||
# production stage
|
||||
FROM nginx:stable-alpine as production-stage
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user