mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-14 03:49:48 +01:00
40e058a32a
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>
16 lines
432 B
Docker
16 lines
432 B
Docker
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"]
|