mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-12-27 18:51:52 +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,7 +10,7 @@ COPY . .
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
# production stage
|
# 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 --from=build-stage /app/dist /usr/share/nginx/html
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Reference in a new issue