All checks were successful
Build & Push Docker Image to Registry / build (release) Successful in 2m0s
20 lines
464 B
Docker
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"] |