Allow importing themes in docker environment

This commit is contained in:
Daniel Brendel
2024-03-05 14:05:02 +01:00
parent 1e3f4426a4
commit 46918ed9c4
3 changed files with 13 additions and 0 deletions
+5
View File
@@ -65,6 +65,11 @@ VOLUME ["/var/www/html/app/logs"]
# Create volume for backups
VOLUME ["/var/www/html/public/backup"]
# Copy themes and create volume for themes
RUN mkdir /tmp/themes \
&& cp -r /var/www/html/public/themes/* /tmp/themes
VOLUME ["/var/www/html/public/themes"]
# Copy migration list and create volume for migrations
RUN mkdir /tmp/migrations \
&& cp /var/www/html/app/migrations/* /tmp/migrations