Added Dockerfile [WIP]
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal 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"]
|
||||
|
||||
Reference in New Issue
Block a user