Skip to content

Commit

Permalink
update: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
muchasxmaracas committed May 21, 2024
1 parent 5671a67 commit 512a6f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ FROM nginx:1.25.4-alpine
RUN rm -rf /usr/share/nginx/html/*

# Copy the build output to the nginx html directory
USER nginx
COPY --from=build /usr/src/app/dist/gallowhead /usr/share/nginx/html

# Copy custom nginx configuration if needed
USER 1001
COPY --from=build /usr/src/app/deploy/webserver/container/default.conf /etc/nginx/conf.d/default.conf

0 comments on commit 512a6f8

Please sign in to comment.