Commit ee9dd00e authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed user permissions in production build

parent 20b4d962
......@@ -83,6 +83,7 @@ CMD /entrypoint.sh
# Just the changes we need for production use (i.e. enable opcache, disable xdebug, etc.)
FROM development AS production
USER 0:0
# Opcache configuration
RUN phpdismod xdebug && \
sed -i 's/expose_php = On/expose_php = Off/g' /etc/php/7.4/fpm/php.ini && \
......@@ -104,4 +105,4 @@ RUN chmod +x /entrypoint.sh
COPY --chown=1000:1000 . /html
USER 1000:1000
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment