mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix docker errors
This commit is contained in:
11
Dockerfile
11
Dockerfile
@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user