1
0
www.mikescher.com/Dockerfile

26 lines
579 B
Docker
Raw Normal View History

2022-12-10 18:24:39 +01:00
FROM php:8.0-apache
WORKDIR /var/www/html
COPY ./www /var/www/html
RUN apt-get update && \
2022-12-10 18:24:39 +01:00
apt-get install -y git curl procps zip msmtp bsd-mailx && \
apt-get install -y imagemagick && \
2022-12-10 18:24:39 +01:00
rm -rf /var/lib/apt/lists/*
RUN a2enmod rewrite
2022-12-10 18:24:39 +01:00
COPY .docker /_docker
RUN chmod +Xx /_docker/run.sh && \
chmod +Xx /_docker/init.sh
2022-12-10 18:24:39 +01:00
# MapVolumes for: /var/www/html/config.php
# MapVolumes for: /var/www/html/dynamic/egg
# MapVolumes for: /var/www/html/dynamic/logs
EXPOSE 80
CMD ["/_docker/run.sh"]