1
0

Dockerfile 513 B

12345678910111213141516
  1. FROM alpine:latest
  2. WORKDIR /var/www/html/4get
  3. RUN apk update && apk upgrade
  4. 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 imagemagick-webp imagemagick-jpeg
  5. COPY ./apache/httpd.conf /etc/apache2/httpd.conf
  6. COPY ./apache/conf.d/ssl.conf /etc/apache2/conf.d/ssl.conf
  7. COPY . .
  8. RUN chmod 777 /var/www/html/4get/icons
  9. EXPOSE 80
  10. EXPOSE 443
  11. CMD ["./docker/docker-entrypoint.sh"]