fix job
Build and Deploy Docker / build (push) Successful in 6m15s
Build and Deploy Docker / deploy (push) Successful in 31s

This commit is contained in:
2026-07-14 22:12:16 +02:00
parent 14f60a81e1
commit a78f715d04
2 changed files with 1 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
FROM php:8.4-cli
# Systemowe zależności potrzebne do budowy rozszerzeń PHP
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
unzip \
libicu-dev \
libzip-dev \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
# Rozszerzenia PHP wymagane przez Symfony
RUN docker-php-ext-install -j"$(nproc)" \
intl \
opcache \
zip \
pdo_pgsql \
pdo_mysql
# Composer (z oficjalnego obrazu)
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /app
EXPOSE 8000
# Wbudowany serwer PHP serwujący katalog public/
CMD ["php", "-S", "0.0.0.0:8000", "-t", "public"]