mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-13 19:13:46 +00:00
Added nginx congif which ensures client-side paths are served as the index.html
This commit is contained in:
@@ -4,5 +4,6 @@ RUN cd /shlink-web-client && npm install && npm run build
|
||||
|
||||
FROM nginx:1.17.3-alpine
|
||||
LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"
|
||||
RUN rm -r /usr/share/nginx/html
|
||||
RUN rm -r /usr/share/nginx/html && rm /etc/nginx/conf.d/default.conf
|
||||
COPY config/docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=node /shlink-web-client/build /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user