docker-laravel-base/Dockerfile
Javier Feliz f69317b4ee
All checks were successful
Build & Push Docker Image to Registry / build (release) Successful in 2m0s
Take out app copy
2025-07-16 18:27:08 -04:00

20 lines
464 B
Docker

FROM dunglas/frankenphp
RUN install-php-extensions \
pcntl \
pdo \
pdo_pgsql \
pdo_mysql \
pdo_sqlite
# Add other PHP extensions here...
# Set up entrypoint script
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./.env.docker /app/.env
RUN chmod +x /usr/local/bin/entrypoint.sh
RUN mkdir -p /app/database
RUN touch /app/database/database.sqlite && chmod 777 /app/database/database.sqlite
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]