Skip to content

Commit

Permalink
fix app serve from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc23007 committed Oct 17, 2024
1 parent edd70ea commit 1e55d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RUN npm run build

# Step 2: Serve the app using NGINX
FROM nginxinc/nginx-unprivileged:mainline
COPY --from=build /usr/src/app /usr/share/nginx/html
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 1e55d40

Please sign in to comment.