Skip to content

Commit

Permalink
wip: updates for 7.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Oct 4, 2024
1 parent 46b11d7 commit 9003cd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ RUN . ../ENV/bin/activate \
RUN mkdir -p ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/uploadedfiles && chgrp -R arches ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/uploadedfiles && chmod -R g+rw ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/uploadedfiles

COPY docker/settings_docker.py ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/settings_local.py
RUN echo "{}" > ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/webpack-stats.json
# RUN echo "{}" > ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}/webpack-stats.json
RUN echo "{}" > ${WEB_ROOT}/${ARCHES_PROJECT}/webpack/webpack-stats.json

WORKDIR ${WEB_ROOT}/${ARCHES_PROJECT}/${ARCHES_PROJECT}
RUN mkdir -p /static_root && chown -R arches /static_root
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:

arches:
restart: unless-stopped
user: root # frontend configuration
entrypoint: ["../entrypoint.sh"]
build:
context: ${ARCHES_PROJECT_ROOT}.
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ run_npm_build_production() {
cd_app_folder
sleep 10
cd ${ARCHES_PROJECT}
npm build_production
npm run build_production
}

run_npm_build_development() {
Expand All @@ -275,7 +275,7 @@ run_npm_build_development() {
cd_app_folder
sleep 10
cd ${ARCHES_PROJECT}
npm build_development
npm run build_development
}


Expand Down

0 comments on commit 9003cd1

Please sign in to comment.