Skip to content

Commit

Permalink
chore: fix broken 404 redirects in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Nov 5, 2023
1 parent 17b6b52 commit 9f2a9bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 9f2a9bf

Please sign in to comment.