2023-08-23 23:31:08 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /var/www/html/4get
|
|
|
|
|
|
|
|
RUN apk update && apk upgrade
|
2024-01-09 07:14:27 +00:00
|
|
|
RUN apk add php apache2-ssl php82-fileinfo php82-openssl php82-iconv php82-common php82-dom php82-curl curl php82-pecl-apcu php82-apache2 imagemagick php82-pecl-imagick php-mbstring
|
2023-08-23 23:31:08 +00:00
|
|
|
|
|
|
|
COPY ./apache/httpd.conf /etc/apache2/httpd.conf
|
2024-01-09 07:14:27 +00:00
|
|
|
COPY ./apache/conf.d/ssl.conf /etc/apache2/conf.d/ssl.conf
|
2023-08-23 23:31:08 +00:00
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN chmod 777 /var/www/html/4get/icons
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 443
|
|
|
|
|
|
|
|
CMD ["./docker/docker-entrypoint.sh"]
|