Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Fix frontend container
Browse files Browse the repository at this point in the history
  • Loading branch information
msathieu committed Mar 14, 2024
1 parent 3318d22 commit 67bc34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ WORKDIR /app
RUN npm install
RUN npm run build
FROM nginx
RUN sed -E 's/(index index.html) index.htm;/\1; try_files $uri \/index.html;/' -i /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html

0 comments on commit 67bc34e

Please sign in to comment.