mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 13:21:43 +02:00
Run php-fpm as user www
This commit is contained in:
@@ -77,6 +77,9 @@ COPY symfony.pool.conf /etc/php8/php-fpm.d/
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
RUN addgroup -S www
|
||||
RUN adduser -S -D -H -g "php-fpm user" -G www -s /sbin/nologin www
|
||||
|
||||
ARG APP_ENVIRONMENT
|
||||
ENV APP_ENV=${APP_ENVIRONMENT}
|
||||
ENV APP_SECRET=67d829bf61dc5f87a73fd814e2c9f629
|
||||
|
Reference in New Issue
Block a user