This commit is contained in:
2026-04-01 14:05:33 +10:00
parent b017c0b756
commit 484447ae0b
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
FROM php:8.4-fpm-alpine
LABEL org.opencontainers.image.version="1.0.2"
LABEL org.opencontainers.image.title="FlightsAPI"
# Install dependencies
RUN apk add --no-cache nginx curl zip unzip git postgresql-dev \
&& docker-php-ext-install pdo pdo_pgsql pgsql opcache
@@ -19,4 +22,4 @@ RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
EXPOSE 80
CMD ["sh", "-c", "php-fpm -D && nginx -g 'daemon off;'"]
CMD ["sh", "-c", "php-fpm -D && nginx -g 'daemon off;'"]