| ADD alpine-minirootfs-3.21.7-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk update && apk add ca-certificates libstdc++ && rm -rf /var/cache/apk/* # buildkit |
| COPY /build/install /usr/local # buildkit |
| RUN /bin/sh -c sed -i 's@/usr/bin/env bash@/usr/bin/env ash@' /usr/local/bin/curl_* # buildkit |
| CMD ["curl-impersonate" "--version"] |
| WORKDIR /var/www/html/4get |
| ENV LD_PRELOAD=/usr/local/lib/libcurl-impersonate.so |
| ENV CURL_IMPERSONATE=firefox147 |
| ENV CURL_IMPERSONATE_HEADERS=no |
| RUN /bin/sh -c apk update && apk upgrade # buildkit |
| RUN /bin/sh -c apk add php apache2-ssl php84-fileinfo php84-openssl php84-iconv php84-common php84-dom php84-sodium php84-curl curl php84-pecl-apcu php84-apache2 imagemagick php84-pecl-imagick php84-mbstring imagemagick-webp imagemagick-jpeg nss ca-certificates # buildkit |
| COPY . . # buildkit |
| RUN /bin/sh -c chmod 777 /var/www/html/4get/icons # buildkit |
| EXPOSE [80/tcp] |
| EXPOSE [443/tcp] |
| ENV FOURGET_PROTO=http |
| ENTRYPOINT ["./docker/docker-entrypoint.sh"] |
| CMD ["start"] |