Create /data directory with default uid:gid

This commit is contained in:
Robin 2022-02-17 13:02:13 +01:00
parent 41ae8db89b
commit 67a19a8cd9

View File

@ -40,6 +40,9 @@ ENV PHP_PM="ondemand" \
PHP_PM_MIN_SPARE_SERVERS="2" \ PHP_PM_MIN_SPARE_SERVERS="2" \
PHP_PM_MAX_SPARE_SERVERS="4" PHP_PM_MAX_SPARE_SERVERS="4"
RUN mkdir /data && \
chown 33:33 /data
# The www-data user has uid 33 on Debian/Ubuntu which is what most people are used to # The www-data user has uid 33 on Debian/Ubuntu which is what most people are used to
USER 33 USER 33