This commit is contained in:
16
pkg/Dockerfile
Normal file
16
pkg/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM docker.io/dunglas/frankenphp:1-php8.5-alpine
|
||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||
|
||||
WORKDIR "/app"
|
||||
|
||||
# Copy Caddy configuration
|
||||
COPY --chown=www-data:www-data pkg/files/Caddyfile /etc/frankenphp/Caddyfile
|
||||
# TODO: necessaire ?
|
||||
#RUN chown www-data:www-data /data/caddy && \
|
||||
# chmod 2770 /data/caddy
|
||||
|
||||
# Copy application files
|
||||
COPY --chown=www-data:www-data "../public" "/app"
|
||||
# TODO: php.ini
|
||||
|
||||
USER www-data
|
||||
Reference in New Issue
Block a user