diff options
| author | throwaway <developerthrowaway@protonmail.com> | 2026-05-19 17:08:10 -0700 |
|---|---|---|
| committer | throwaway <developerthrowaway@protonmail.com> | 2026-05-19 17:08:10 -0700 |
| commit | cf3c77ed04545dc310f1692c86ac7e017ff1193a (patch) | |
| tree | bdd2b4e3f72e8f70aa8cf213d05671e25460fdfa /Dockerfile | |
| parent | c45f8b1e128ebb834c579f7b03f2f77811bf4ca5 (diff) | |
add lwthiker/curl-impersonate
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,8 +1,17 @@ +FROM lwthiker/curl-impersonate:0.6.1-ff-alpine AS curl-impersonate + FROM alpine:3.21 WORKDIR /var/www/html/4get RUN apk update && apk upgrade -RUN 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 +RUN 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 + +COPY --from=curl-impersonate /usr/local/bin /usr/local/bin +COPY --from=curl-impersonate /usr/local/lib /usr/local/lib + +ENV LD_PRELOAD=/usr/local/lib/libcurl-impersonate-ff.so +ENV CURL_IMPERSONATE=ff117 +ENV CURL_IMPERSONATE_HEADERS=no COPY . . @@ -14,4 +23,4 @@ EXPOSE 443 ENV FOURGET_PROTO=http ENTRYPOINT ["./docker/docker-entrypoint.sh"] -CMD ["start"]
\ No newline at end of file +CMD ["start"] |
