Skip to content

Commit

Permalink
fix: static dockerfile does not load packages for now
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Oct 5, 2024
1 parent 1f5f3bd commit 1b91bae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ WORKDIR ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}
RUN mkdir -p /static_root && chown -R arches /static_root
WORKDIR ${WEB_ROOT}/${ARCHES_PROJECT}
RUN ../entrypoint.sh install_npm_components
RUN . ../ENV/bin/activate && python manage.py
ENTRYPOINT ../entrypoint.sh
CMD run_arches
USER 1000
2 changes: 1 addition & 1 deletion Dockerfile.static
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ 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}/webpack-stats.json /usr/share/nginx/webpack-stats.json
COPY --from=arches ${WEB_ROOT}/${ARCHES_PROJECT}/webpack/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
Expand Down

0 comments on commit 1b91bae

Please sign in to comment.