2023-08-23 23:31:08 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /var/www/html/4get
|
|
|
|
|
|
|
|
RUN apk update && apk upgrade
|
2024-04-24 23:11:49 +00:00
|
|
|
RUN apk add php apache2-ssl php83-fileinfo php83-openssl php83-iconv php83-common php83-dom php83-sodium php83-curl curl php83-pecl-apcu php83-apache2 imagemagick php83-pecl-imagick php-mbstring imagemagick-webp imagemagick-jpeg
|
2023-08-23 23:31:08 +00:00
|
|
|
|
2024-02-09 09:59:25 +00:00
|
|
|
COPY ./docker/apache/ /etc/apache2/
|
2023-08-23 23:31:08 +00:00
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN chmod 777 /var/www/html/4get/icons
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 443
|
|
|
|
|
2024-03-22 07:34:50 +00:00
|
|
|
ENV FOURGET_PROTO=http
|
|
|
|
|
2023-08-23 23:31:08 +00:00
|
|
|
CMD ["./docker/docker-entrypoint.sh"]
|