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
7 changes: 3 additions & 4 deletions docker/openshift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ RUN composer install --no-progress --profile --prefer-dist --no-interaction --no

# Copy custom entrypoints.
# @see https://github.com/City-of-Helsinki/drupal-docker-images/tree/main/openshift/drupal
RUN mkdir -p /crons /entrypoints /hooks/deploy /hooks/db-replace
RUN mkdir -p /crons /entrypoints /hooks
COPY docker/openshift/entrypoints/ /entrypoints
COPY docker/openshift/crons/ /crons
COPY docker/openshift/deploy /hooks/deploy
COPY docker/openshift/post-db-replace /hooks/db-replace
RUN chmod +x /entrypoints/* /hooks/deploy/* /crons/* /hooks/db-replace/*
COPY docker/openshift/hooks/ /hooks
RUN chmod -R +x /entrypoints/* /hooks/* /crons/*

COPY docker/openshift/init.sh /