Self hosted FLOSS fitness/workout, nutrition and weight tracker
Allow setting git branch via build arg
Scott Peshak5d2aff6de9bc
diff --git a/extras/docker/apache/Dockerfile b/extras/docker/apache/Dockerfileindex 19fd46b9b..a300613e4 100644--- a/extras/docker/apache/Dockerfile+++ b/extras/docker/apache/Dockerfile@@ -46,7 +46,8 @@ RUN chmod 0644 /etc/cron.d/wger \# Set up the applicationUSER wger-RUN git clone https://github.com/wger-project/wger.git /home/wger/src+ARG GIT_BRANCH=master+RUN git clone -b ${GIT_BRANCH} https://github.com/wger-project/wger.git /home/wger/srcWORKDIR /home/wger/srcRUN virtualenv --python python3 /home/wger/venv