summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorthrowaway <developerthrowaway@protonmail.com>2023-08-23 18:31:08 -0500
committerthrowaway <throwaway@no-reply@lolcat.ca>2023-08-23 18:31:08 -0500
commit40e058a32a6e73e0afab55889302956ebf12d459 (patch)
tree780143773339ff0e2b4dbf60114975bbe6317b34 /Dockerfile
parent981215583876eb4e149952b029769e16ef9cc7b0 (diff)
Add Dockerfile and docker entrypoint (#5)
Add Dockerfile and docker entrypoint Co-authored-by: lolcat <lolcat@no-reply@lolcat.ca> Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/5 Co-authored-by: throwaway <developerthrowaway@protonmail.com> Co-committed-by: throwaway <developerthrowaway@protonmail.com>
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"]