improve initial commit

This commit is contained in:
2021-02-18 18:50:06 +01:00
parent de5433b54c
commit f889b3a99c
3 changed files with 5 additions and 3 deletions

View File

@@ -53,8 +53,9 @@ RUN { \
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
WORKDIR "/var/www/app"
# Add users/groups with uid 1000
RUN groupadd --gid ${GID} "group${GID}" \
&& useradd --uid ${UID} --gid ${GID} --create-home "user${UID}"
WORKDIR "/var/www/app"