Skip to content

Commit 19509c5

Browse files
committed
Fix path for static files
1 parent b38d4bc commit 19509c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

extras/docker/demo/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ RUN chmod 0644 /etc/cron.d/wger \
9191

9292
COPY --chown=wger:www-data . /home/wger/src
9393
COPY --chown=wger:wger --from=builder /home/wger/src/node_modules /home/wger/src/node_modules
94-
COPY --chown=wger:wger --from=builder /home/wger/src/wger/core/static/bootstrap-compiled.css /home/wger/src/core/static/bootstrap-compiled.css
95-
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
94+
COPY --chown=wger:wger --from=builder /home/wger/src/wger/core/static/bootstrap-compiled.css /home/wger/src/wger/core/static/bootstrap-compiled.css
95+
COPY --chown=wger:wger --from=builder /home/wger/src/wger/core/static/bootstrap-compiled.css.map /home/wger/src/wger/core/static/bootstrap-compiled.css.map
9696

9797
# Set up the application
9898
RUN ln -s /home/wger/static/CACHE /var/www

extras/docker/production/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ EXPOSE 8000
8686
# Set up the application
8787
COPY --chown=wger:wger . /home/wger/src
8888
COPY --chown=wger:wger --from=builder /root/src/node_modules /home/wger/src/node_modules
89-
COPY --chown=wger:wger --from=builder /root/src/wger/core/static/bootstrap-compiled.css /home/wger/src/core/static/bootstrap-compiled.css
90-
COPY --chown=wger:wger --from=builder /root/src/wger/core/static/bootstrap-compiled.css.map /home/wger/src/core/static/bootstrap-compiled.css.map
89+
COPY --chown=wger:wger --from=builder /root/src/wger/core/static/bootstrap-compiled.css /home/wger/src/wger/core/static/bootstrap-compiled.css
90+
COPY --chown=wger:wger --from=builder /root/src/wger/core/static/bootstrap-compiled.css.map /home/wger/src/wger/core/static/bootstrap-compiled.css.map
9191
COPY ${DOCKER_DIR}/settings.py /home/wger/src
9292
COPY ${DOCKER_DIR}/settings.py /tmp/
9393
COPY ${DOCKER_DIR}/entrypoint.sh /home/wger/entrypoint.sh

0 commit comments

Comments
 (0)