From cc9219a66a918e98eeff0a313552ece003edec41 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Thu, 14 Mar 2024 10:27:30 +0100 Subject: [PATCH] Fix frontend container --- frontend/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 10c3e15a..efb214ec 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -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