no more problems
This commit is contained in:
@@ -5,6 +5,7 @@ ARG GROUP_ID=1000
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git unzip libzip-dev libpng-dev libonig-dev gosu \
|
||||
&& apt-get install -y netcat-openbsd \
|
||||
&& docker-php-ext-install pdo_mysql zip pcntl
|
||||
|
||||
RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
|
||||
@@ -16,7 +17,12 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
COPY scripts/init-dev.sh /usr/local/bin/init-dev.sh
|
||||
COPY scripts/init-prod.sh /usr/local/bin/init-prod.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh \
|
||||
/usr/local/bin/init-dev.sh \
|
||||
/usr/local/bin/init-prod.sh
|
||||
|
||||
WORKDIR /var/www/app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user