flowtodo/docker/Dockerfile
Javier Feliz 0ddd325281
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
Initial commit
2025-07-15 18:28:47 -04:00

23 lines
540 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 ["php", "artisan", "octane:frankenphp"]
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]