Primo commit
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user