Skip to content

Commit

Permalink
chore: dockerflie
Browse files Browse the repository at this point in the history
  • Loading branch information
joostfaassen committed Apr 18, 2022
1 parent 9ce6d76 commit a26aea2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ghcr.io/linkorb/php-docker-base:php8

EXPOSE 80

COPY --chown=www-data:www-data . /app

WORKDIR /app

USER www-data

RUN COMPOSER_MEMORY_LIMIT=-1 /usr/bin/composer install --no-scripts --no-dev

RUN npm install && node_modules/.bin/encore production && rm -rf node_modules

USER root

ENTRYPOINT ["apache2-foreground"]

0 comments on commit a26aea2

Please sign in to comment.