Primo commit

This commit is contained in:
Francesco Picone
2026-04-05 19:30:47 +02:00
parent 701f479b7f
commit 50f28292ef
2 changed files with 98 additions and 0 deletions

View File

@@ -55,6 +55,10 @@ COPY php.ini /usr/local/etc/php/conf.d/custom.ini
# Copy PHP-FPM pool config (run workers as appuser)
COPY www.conf /usr/local/etc/php-fpm.d/www.conf
# Copy entrypoint
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Set ownership
RUN chown -R appuser:appuser /var/www/html
@@ -62,4 +66,5 @@ USER appuser
EXPOSE 9000
ENTRYPOINT ["entrypoint.sh"]
CMD ["php-fpm"]