From 9f2a9bffd17644cfcde2afc6b42b97883ad29c81 Mon Sep 17 00:00:00 2001 From: Simon Reinisch Date: Sun, 5 Nov 2023 18:40:55 +0100 Subject: [PATCH] chore: fix broken 404 redirects in docker image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3a67c23..79d4991 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,11 @@ RUN pnpm run build FROM busybox:1.36.1-musl WORKDIR /home/static + COPY --from=build /app/dist /home/static +RUN echo 'E404:index.html' >> /etc/httpd.conf + EXPOSE 80 CMD ["busybox", "httpd", "-v", "-f"]