Skip to content

Commit

Permalink
feat(Dockerfile): add docker-entrypoint.sh to enable custom entrypoin…
Browse files Browse the repository at this point in the history
…t for nginx container
  • Loading branch information
ozeliurs committed Oct 8, 2024
1 parent cf1715c commit 9f5ed07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ RUN npm run build
FROM nginx:alpine

COPY --from=build /app/dist /usr/share/nginx/html

COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh

EXPOSE 80

Expand Down

0 comments on commit 9f5ed07

Please sign in to comment.