Skip to content

Commit

Permalink
passage à nginx unprivileged-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebarros committed Feb 13, 2024
1 parent a528939 commit 1c587b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ COPY conf /etc/nginx
# Static build
COPY --from=builder /app/build /usr/share/nginx/html/

EXPOSE 80

# Copy .env file and shell script to container
WORKDIR /usr/share/nginx/html
COPY ./env.sh .
COPY .env .

USER root

# Add bash
RUN apk add --no-cache bash

Expand Down

0 comments on commit 1c587b6

Please # to comment.