Skip to content

Commit acc4041

Browse files
committed
Added config directory to docker image
1 parent bc7faf7 commit acc4041

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.docker/os2web/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ RUN echo '<?php $settings["project_env"] = PROD_ENV; ' > /opt/drupal/web/sites/d
4040
rm -rf /opt/drupal/web/sites/default/files; \
4141
ln -sf /opt/drupal/files /opt/drupal/web/sites/default/files; \
4242
mkdir -p private; \
43-
chown -R www-data:www-data /opt/drupal/private /opt/drupal/files
43+
# Adding syn directory.
44+
mkdir -p config/sync; \
45+
# Adjusting ownership
46+
chown -R www-data:www-data /opt/drupal/private /opt/drupal/files /opt/drupal/config/sync
4447

4548
COPY settings/prod.settings.php /opt/drupal/web/sites/default/
4649
COPY entrypoint.sh /

0 commit comments

Comments
 (0)