fix docker errors

This commit is contained in:
Mohit Panjwani
2020-05-27 16:01:37 +05:30
parent 6278417423
commit 165907d144
4 changed files with 11 additions and 22 deletions

View File

@ -13,11 +13,15 @@ RUN apt-get update && apt-get install -y \
libxml2-dev \
zip \
unzip \
libzip-dev
libzip-dev \
libmagickwand-dev
# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pecl install imagick \
&& docker-php-ext-enable imagick
# Install PHP extensions
RUN docker-php-ext-install pdo_mysql mbstring zip exif pcntl bcmath gd
@ -33,8 +37,3 @@ RUN mkdir -p /home/$user/.composer && \
WORKDIR /var/www
USER $user
# COPY ./docker-compose/setup.sh /tmp
# RUN ln -s /usr/local/bin/setup.sh
# ENTRYPOINT ["/tmp/setup.sh"]