diff --git a/Dockerfile b/Dockerfile index 1ad8436d..b6172247 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,8 @@ RUN mkdir -p /run/nginx COPY nginx.conf /etc/nginx/ # copy swagger files to the `/js` folder -ADD ./dist/ /usr/share/nginx/html/js ADD ./public/* /usr/share/nginx/html/ - -# change the folder structure -RUN sed -i 's/\.\.\/dist/js/g' /usr/share/nginx/html/index.html +ADD ./dist/* /usr/share/nginx/html/ EXPOSE 8080 diff --git a/dist/index.html b/dist/index.html index af85e0c4..f22971ad 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,10 +1,13 @@ + -