docker-laravel-base/Dockerfile
Javier Feliz aedb8862ec
Some checks failed
Build & Push Docker Image to Registry / build (release) Has been cancelled
Fix
2025-07-16 16:31:17 -04:00

23 lines
500 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 ./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"]