Skip to content
Snippets Groups Projects
Commit c66250a7 authored by Hermann's avatar Hermann
Browse files

Update Dockerfile with hotfix for direct links

parent 5885a5fd
No related branches found
No related tags found
No related merge requests found
......@@ -29,5 +29,9 @@ RUN npm install --no-save http-server
COPY --from=build /index.html /admintool/
COPY --from=build /dist /admintool/dist
# Serve index.html for every file which is not found on the server
# Hotfix for direct links
RUN ln index.html 404.html
# Run server (-g will automatically serve the gzipped files if possible)
CMD ["/admintool/node_modules/.bin/http-server", "-g", "/admintool"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment