mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-12-27 02:04:05 +08:00
fix(dockerfile): revert replacement of nginx image with non-privileged one (#716)
Fixes https://github.com/CorentinTh/it-tools/issues/714
This commit is contained in:
parent
e87f4b1837
commit
7d94e11cee
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ COPY . .
|
|||
RUN pnpm build
|
||||
|
||||
# production stage
|
||||
FROM nginxinc/nginx-unprivileged:stable-alpine AS 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;"]
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
Loading…
Reference in a new issue