clean
parent
e12835696e
commit
2e9725b281
27
Dockerfile
27
Dockerfile
|
@ -1,19 +1,32 @@
|
|||
FROM debian:12.1
|
||||
|
||||
RUN apt update
|
||||
RUN apt update && apt install -y \
|
||||
apache2 \
|
||||
php \
|
||||
php8.2-mysql \
|
||||
php8.2-mbstring \
|
||||
php8.2-uploadprogress \
|
||||
php8.2-sqlite3 \
|
||||
php8.2-redis \
|
||||
php8.2-oauth \
|
||||
php8.2-intl \
|
||||
php8.2-imap \
|
||||
php8.2-imagick \
|
||||
php8.2-http \
|
||||
php8.2-gnupg \
|
||||
php8.2-gd \
|
||||
php8.2-curl \
|
||||
&& apt clean
|
||||
|
||||
#RUN apt install php8.2-oauth
|
||||
RUN apt install apache2 php php8.2-mysql php8.2-mbstring php8.2-uploadprogress php8.2-sqlite3 php8.2-redis php8.2-oauth php8.2-intl php8.2-imap php8.2-imagick php8.2-http php8.2-gnupg php8.2-gd php8.2-curl -y
|
||||
#COPY php8.2.conf /etc/apache2/mods-enabled/
|
||||
#COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||
##COPY start /usr/local/bin
|
||||
#RUN a2enmod rewrite
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Copy application source
|
||||
VOLUME ["/var/www"]
|
||||
#COPY index.php /var/www/
|
||||
#RUN chown -R www-data:www-data /var/www
|
||||
|
||||
EXPOSE 80
|
||||
#CMD ["service apache2 start"]
|
||||
CMD apachectl -D FOREGROUND
|
||||
|
||||
CMD ["apachectl", "-D", "FOREGROUND"]
|
||||
|
|
Loading…
Reference in New Issue