Files
portfoli-ulleres/Dockerfile
T

18 lines
440 B
Docker

FROM php:8.2-apache
RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libonig-dev \
ca-certificates \
unzip \
git \
&& docker-php-ext-install curl mbstring mysqli pdo pdo_mysql \
&& a2enmod rewrite \
&& rm -rf /var/lib/apt/lists/*
COPY . /var/www/html/
RUN mkdir -p /var/www/html/api/cache \
&& chown -R www-data:www-data /var/www/html \
&& chmod -R 775 /var/www/html/api/cache