Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Compile django translations on build time

Roland Geider3b9615a9043d
diff --git a/extras/docker/production/Dockerfile b/extras/docker/production/Dockerfile
index 34aecdf0f..ec9634785 100644
--- a/extras/docker/production/Dockerfile
+++ b/extras/docker/production/Dockerfile
@@ -97,6 +97,8 @@ RUN pip3 install --break-system-packages --user --editable . \
&& mkdir ~/media \
&& mkdir ~/static \
&& mkdir ~/beat \
- && mkdir ~/db
+ && mkdir ~/db \
+ && cd wger \
+ && django-admin compilemessages
CMD ["/home/wger/entrypoint.sh"]