docker-laravel-base/Dockerfile
Javier Feliz d73d0234e1
Some checks failed
Build & Push Docker Image to Registry / build (release) Failing after 26s
Initial commit
2025-07-16 12:14:43 -04:00

22 lines
487 B
Docker

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