Skip to content

Commit

Permalink
refactor(Dockerfile): update COPY instruction to use /app/dist instea…
Browse files Browse the repository at this point in the history
…d of /app/build to reflect changes in build output directory
  • Loading branch information
ozeliurs committed Oct 8, 2024
1 parent 1135a76 commit 015a3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN npm run build
# Production stage
FROM nginx:alpine

COPY --from=build /app/build /usr/share/nginx/html
COPY --from=build /app/dist /usr/share/nginx/html
COPY docker-entrypoint.sh /docker-entrypoint.sh

EXPOSE 80
Expand Down

0 comments on commit 015a3b0

Please sign in to comment.