Dockerfile 478 B

1234567891011121314151617
  1. FROM alpine:latest
  2. WORKDIR /var/www/html/4get
  3. RUN apk update && apk upgrade
  4. 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
  5. COPY ./docker/apache/ /etc/apache2/
  6. COPY . .
  7. RUN chmod 777 /var/www/html/4get/icons
  8. EXPOSE 80
  9. EXPOSE 443
  10. ENV FOURGET_PROTO=http
  11. CMD ["./docker/docker-entrypoint.sh"]