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

Merge branch 'master' of gitlab.ethz.ch:amiv/amiv-admintool

parents 53d96dc6 c66250a7
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