diff --git a/Dockerfile b/Dockerfile index 4f5dc05..27ff611 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,14 @@ RUN apt-get update && apt-get install -y \ libfreetype6-dev \ libjpeg62-turbo-dev \ libpng-dev \ + zlib1g-dev \ libzip-dev \ zip \ unzip \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install -j$(nproc) gd \ - && docker-php-ext-install pdo pdo_mysql + && docker-php-ext-install pdo pdo_mysql \ + && docker-php-ext-install zip # copy contents into directory COPY . /var/www/html diff --git a/docker-compose.yml b/docker-compose.yml index dfc9160..d6bd261 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,8 +21,10 @@ services: MYSQL_PASSWORD: "12345678" ports: - "3306:3306" - volumes: - - mysql_data:/var/lib/mysql -volumes: - mysql_data: \ No newline at end of file +# skip data persistance (if dev testing) +# volumes: +# - mysql_data:/var/lib/mysql + +# volumes: +# mysql_data: \ No newline at end of file