Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNN1 committed Sep 5, 2023
1 parent 61ceabf commit ab83077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ RUN apt install -y git

RUN pecl install redis && docker-php-ext-enable redis

RUN apt install -y libz-dev libmemcached-dev libssl-dev && pecl install memcached && docker-php-ext-enable memcached
RUN apt install -y libz-dev libssl-dev libmemcached-dev && pecl install memcached && docker-php-ext-enable memcached

RUN docker-php-ext-enable opcache

RUN pecl install apcu && docker-php-ext-enable apcu

RUN rm -rf /tmp/pear
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /var/www/html
RUN chmod 777 /var/www/html

RUN git clone --depth=1 https://github.com/RobiNN1/phpCacheAdmin.git .
RUN rm -r .git tests composer.json package.json phpstan.neon phpunit.xml README.md tailwind.config.js docker-compose.yml Dockerfile
RUN apt remove git -y && apt autoremove -y
RUN apt remove git -y && apt autoremove -y && apt clean

RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf # fix for apache

Expand Down

0 comments on commit ab83077

Please sign in to comment.