Skip to content

Commit

Permalink
Refine Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Nov 15, 2024
1 parent 6461bae commit 1f87bb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ LABEL [email protected]
LABEL org.opencontainers.image.source=https://github.com/dbca-wa/flatbacks-website

WORKDIR /opt/drupal
# Install project dependencies
COPY composer.json composer.lock ./
RUN composer install

# Copy customised elements into site
COPY web/modules/custom/nws_misc ./web/modules/custom/nws_misc
COPY web/sites/maps ./web/sites/maps
COPY web/themes/custom/nws ../web/themes/custom/nws

# Run as the non-root user
USER www-data

0 comments on commit 1f87bb7

Please sign in to comment.