Commit 30756d98 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Update Dockerfile

parent a1b22813
......@@ -29,6 +29,8 @@ WORKDIR /public
# Copy files from first stage
COPY --from=build /index.html /public/
COPY --from=build /dist /public/dist
# Serve index.html for every file which is not found on the server
RUN ln index.html 404.html
# Run server (-g will automatically serve the gzipped files if possible)
CMD ["/usr/local/bin/http-server", "-g", "/public"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment