first commit
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM php:8.2-apache-bookworm
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl libcurl4-openssl-dev \
|
||||
&& docker-php-ext-install curl \
|
||||
&& a2enmod rewrite \
|
||||
&& printf 'ServerName localhost\n' > /etc/apache2/conf-available/server-name.conf \
|
||||
&& a2enconf server-name \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY public/ /var/www/html/
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user