1
0

Added Dockerfile [WIP]

This commit is contained in:
2022-12-10 18:24:39 +01:00
parent 847f4f4781
commit 74359ef6f7
6 changed files with 155 additions and 1 deletions

26
Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
FROM php:8.0-apache
WORKDIR /var/www/html
COPY ./www /var/www/html
RUN apt-get update && \
apt-get install -y git curl procps zip msmtp bsd-mailx && \
apt-get install -y magick && \
rm -rf /var/lib/apt/lists/*
COPY .docker /_docker
RUN rm /var/www/html/Makefile && \
rm /var/www/html/Dockerfile && \
rm -rf /var/www/html/.git && \
rm -rf /var/www/html/.idea && \
rm -rf /var/www/html/.docker
# 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"]