Skip to content

Commit

Permalink
fixed dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Aug 14, 2024
1 parent 13b85c0 commit 796da59
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 @@ -37,7 +37,7 @@ RUN rm -rf /usr/share/nginx/html/*
RUN mkdir -p /usr/share/nginx/html/portal/webapp

# Copy built Angular artifacts to nginx public folder
COPY --from=builder /ng-app/dist /usr/share/nginx/html/portal/webapp
COPY --from=builder /ng-app/dist/browser /usr/share/nginx/html/portal/webapp

# Start nginx server
CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/portal/webapp/browser/static/webapp/assets/environment/env.template.js> /usr/share/nginx/html/portal/webapp/browser/static/webapp/assets/environment/env.js && exec nginx -g 'daemon off;'"]

0 comments on commit 796da59

Please sign in to comment.