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 36f071f commit 0e7a302
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ RUN rm -rf /usr/share/nginx/html/*

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

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

USER nginx

0 comments on commit 0e7a302

Please sign in to comment.