diff --git a/Dockerfile.static b/Dockerfile.static index 867953c..5a04f3e 100644 --- a/Dockerfile.static +++ b/Dockerfile.static @@ -77,7 +77,9 @@ ARG STATIC_ROOT=/static_root ARG ARCHES_PROJECT COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/media/* /usr/share/nginx/html/ COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/media/build/js/* /usr/share/nginx/html/js/ -COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/webpack-stats.json /usr/share/nginx/webpack-stats.json +COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/webpack-stats.json /usr/share/nginx/webpack-stats.json +COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/.frontend-configuration-settings.json /usr/share/nginx/.frontend-configuration-settings.json +COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/.tsconfig-paths.json /usr/share/nginx/.tsconfig-paths.json COPY --from=arches ${STATIC_ROOT} /usr/share/nginx/html/static #RUN mv /usr/share/nginx/html/static/* /usr/share/nginx/html diff --git a/Dockerfile.static-py b/Dockerfile.static-py index 451a05c..ddf4905 100644 --- a/Dockerfile.static-py +++ b/Dockerfile.static-py @@ -9,7 +9,9 @@ FROM $ARCHES_STATIC_IMAGE as arches_static FROM $ARCHES_DYNAMIC_IMAGE as arches ARG STATIC_ROOT=/static_root -COPY --from=arches_static /usr/share/nginx/webpack-stats.json ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/webpack/webpack-stats.json +COPY --from=arches_static /usr/share/nginx/webpack-stats.json ${WEB_ROOT}/${ARCHES_PROJECT}/webpack/webpack-stats.json +COPY --from=arches_static /usr/share/nginx/.frontend-configuration-settings.json ${WEB_ROOT}/${ARCHES_PROJECT}/.frontend-configuration-settings.json +COPY --from=arches_static /usr/share/nginx/.tsconfig-paths.json ${WEB_ROOT}/${ARCHES_PROJECT}/.tsconfig-paths.json RUN mkdir -p ${STATIC_ROOT}/CACHE # COPY --from=arches_static /usr/share/nginx/html/static/CACHE/manifest.json ${STATIC_ROOT}/CACHE/manifest.json COPY --from=arches_static /usr/share/nginx/html ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/media/build diff --git a/docker-compose.yml b/docker-compose.yml index 1ea6883..c0c185c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,6 @@ services: arches: restart: unless-stopped - user: root # frontend configuration entrypoint: ["../entrypoint.sh"] build: context: ${ARCHES_PROJECT_ROOT}.