Self hosted FLOSS fitness/workout, nutrition and weight tracker
Also copy the css map file
Roland Geidera3b0b96b2999
diff --git a/extras/docker/demo/Dockerfile b/extras/docker/demo/Dockerfileindex 554971e0a..3e2036174 100644--- a/extras/docker/demo/Dockerfile+++ b/extras/docker/demo/Dockerfile@@ -93,6 +93,7 @@ RUN chmod 0644 /etc/cron.d/wger \COPY --chown=wger:www-data . /home/wger/srcCOPY --chown=wger:wger --from=builder /home/wger/src/node_modules /home/wger/src/node_modulesCOPY --chown=wger:wger --from=builder /home/wger/src/wger/core/static/bootstrap-compiled.css /home/wger/src/core/static/bootstrap-compiled.css+COPY --chown=wger:wger --from=builder /home/wger/src/wger/core/static/bootstrap-compiled.css.map /home/wger/src/core/static/bootstrap-compiled.css.map# Set up the applicationRUN ln -s /home/wger/static/CACHE /var/wwwdiff --git a/extras/docker/production/Dockerfile b/extras/docker/production/Dockerfileindex aeb1cb63e..2102656a8 100644--- a/extras/docker/production/Dockerfile+++ b/extras/docker/production/Dockerfile@@ -88,6 +88,7 @@ EXPOSE 8000COPY --chown=wger:wger . /home/wger/srcCOPY --chown=wger:wger --from=builder /root/src/node_modules /home/wger/src/node_modulesCOPY --chown=wger:wger --from=builder /root/src/wger/core/static/bootstrap-compiled.css /home/wger/src/core/static/bootstrap-compiled.css+COPY --chown=wger:wger --from=builder /root/src/wger/core/static/bootstrap-compiled.css.map /home/wger/src/core/static/bootstrap-compiled.css.mapCOPY ${DOCKER_DIR}/settings.py /home/wger/srcCOPY ${DOCKER_DIR}/settings.py /tmp/COPY ${DOCKER_DIR}/entrypoint.sh /home/wger/entrypoint.shdiff --git a/wger/tasks.py b/wger/tasks.pyindex 81a5aa93b..9efa37f12 100644--- a/wger/tasks.py+++ b/wger/tasks.py@@ -97,8 +97,8 @@ def bootstrap(context, settings_path=None, database_path=None, process_static=Tr# Download JS and CSS librariesif process_static:- context.run('yarn install')- context.run('yarn build:css:sass')+ context.run('npm install')+ context.run('npm run build:css:sass')@task(