summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-08-27 01:51:37 -0400
committerlolcat <will@lolcat.ca>2023-08-27 01:51:37 -0400
commitddfb957b40c7cb1fd3975f6af5804379e8b5e6f2 (patch)
treeb0a6ac5b89d5fcf54d85504baf49388669a2f439 /Dockerfile
parent1fd4c2de6d2552f4619c6e67aac60bc635465cd1 (diff)
parent232995bf0d4274f904044e6dd0dc8098757b4be3 (diff)
Merge branch 'master' of https://git.lolcat.ca/lolcat/4get
what am i doing
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..bff4532
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM alpine:latest
+WORKDIR /var/www/html/4get
+
+RUN apk update && apk upgrade
+RUN apk add apache2-ssl php82-fileinfo php82-openssl php82-iconv php82-common php82-dom php82-curl curl php82-pecl-apcu php82-apache2 imagemagick php82-pecl-imagick
+
+COPY ./apache/httpd.conf /etc/apache2/httpd.conf
+COPY . .
+
+RUN chmod 777 /var/www/html/4get/icons
+
+VOLUME ["/etc/4get/certs"]
+EXPOSE 80
+EXPOSE 443
+
+CMD ["./docker/docker-entrypoint.sh"]