Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docker/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ RUN \
mkdir logs && \
mkdir -p tmp/cache/models && \
mkdir -p tmp/cache/persistent && \
mkdir -p tmp/cache/views && \
chown -R www-data:www-data /var/www/gib-potato/logs && \
chown -R www-data:www-data /var/www/gib-potato/tmp
mkdir -p tmp/cache/views

COPY ./docker/backend/run.sh /run.sh
RUN chmod +x /run.sh
Expand Down
3 changes: 3 additions & 0 deletions docker/backend/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

bin/cake migrations migrate

chown -R www-data:www-data logs
chown -R www-data:www-data tmp

exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
Loading