Skip to content

Commit

Permalink
fix: try restoring from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Nov 16, 2024
1 parent 4f383e2 commit 71e80c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.static
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ USER 0
ARG DJANGO_DUMMY_SECRET_KEY
ARG STATIC_URL=/static/
ARG ARCHES_PROJECT
ARG ARCHES_PRESEEDED
ARG ARCHES_DYNAMIC_IMAGE
ARG ARCHES_NAMESPACE_FOR_DATA_EXPORT
ARG PUBLIC_SERVER_ADDRESS
Expand Down Expand Up @@ -63,6 +64,7 @@ RUN (echo "\nPUBLIC_SERVER_ADDRESS='${PUBLIC_SERVER_ADDRESS}' or ARCHES_NAMESPAC
RUN (cd $WEB_ROOT/arches/arches && NODE_OPTIONS=--max_old_space_size=8192 NODE_PATH=$WEB_ROOT/$ARCHES_PROJECT/$ARCHES_PROJECT/media/node_modules yarn install)
RUN (cd $WEB_ROOT/$ARCHES_PROJECT/$ARCHES_PROJECT && NODE_OPTIONS=--max_old_space_size=8192 NODE_PATH=./media/node_modules yarn install -D)
RUN apt-get update && apt-get -y install python3-libxml2 git
RUN (echo $ARCHES_PRESEEDED)
RUN /bin/bash -c ". ../ENV/bin/activate;\
if [[ -z \"$ARCHES_PRESEEDED\" ]]; then \
python manage.py createcachetable;\
Expand Down

0 comments on commit 71e80c2

Please sign in to comment.