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