Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix cache location

Scott Peshaka35a1f9d9a04
diff --git a/extras/docker/apache/Dockerfile b/extras/docker/apache/Dockerfile
index 5f78244d1..737c89577 100644
--- a/extras/docker/apache/Dockerfile
+++ b/extras/docker/apache/Dockerfile
@@ -44,7 +44,8 @@ RUN chmod 0644 /etc/cron.d/wger \
&& touch /var/log/cron.log
# Set up the application
-RUN ln -s /home/wger/static/CACHE /var/www
+RUN ln -s /home/wger/static/CACHE /var/www \
+ && ln -s /home/wger/static/CACHE /home/wger/src
USER wger
ARG GIT_BRANCH=master
RUN git clone -b ${GIT_BRANCH} https://github.com/wger-project/wger.git /home/wger/src