Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix: docker image for angular
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 committed Apr 21, 2024
1 parent b218c53 commit 1cbfc57
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/browser.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ RUN mkdir -p /etc/nginx && \
echo ' root /usr/share/nginx/html;' >> /etc/nginx/nginx.conf && \
echo ' index index.html;' >> /etc/nginx/nginx.conf && \
echo ' location / {' >> /etc/nginx/nginx.conf && \
echo ' try_files $uri $uri/ /index.html;' >> /etc/nginx/nginx.conf && \
echo ' try_files $uri $uri/ /index.html =404;' >> /etc/nginx/nginx.conf && \
echo ' }' >> /etc/nginx/nginx.conf && \
echo ' }' >> /etc/nginx/nginx.conf && \
echo '}' >> /etc/nginx/nginx.conf
COPY --from=build /usr/src/app/apps/${PROJECT}/dist/${SUB_PROJECT}/browser .
# remove all map files since we do not want them in production
# RUN rm -f *.map

0 comments on commit 1cbfc57

Please sign in to comment.