6
0
Fork 0

Update Dockerfile

release
李静 2022-01-20 17:08:54 +08:00
parent 738ff1b6f1
commit dd7b7c2d10
1 changed files with 8 additions and 0 deletions

View File

@ -22,3 +22,11 @@ RUN set -eux \
COPY ./docker/php/php.ini "$PHP_INI_DIR/"
COPY --from=composer:2.1 /usr/bin/composer /usr/bin/composer
ARG PGID
ENV PGID ${PGID:-1000}
ARG PUID
ENV PUID ${PUID:-1000}
RUN groupmod -g ${PGID} www-data && \
usermod -u ${PUID} www-data