2023-08-23 18:31:08 -05:00
|
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /var/www/html/4get
|
|
|
|
|
2025-01-21 03:09:44 -05:00
|
|
|
# Metadata
|
|
|
|
## This modified version of 4get is pushed to SudoVanilla's OCI registry.
|
|
|
|
## These labels will make the correct information is shown on the registry.
|
|
|
|
LABEL org.opencontainers.image.title="4get"
|
|
|
|
LABEL org.opencontainers.image.vendor="lolcat"
|
|
|
|
LABEL org.opencontainers.image.description="4get is a proxy search engine that doesn't suck"
|
|
|
|
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"
|
|
|
|
LABEL org.opencontainers.image.url="https://4get.sudovanilla.org/"
|
|
|
|
LABEL org.opencontainers.image.source="https://ark.sudovanilla.org/Korbs/4get-patches"
|
|
|
|
LABEL org.opencontainers.image.version="8"
|
|
|
|
|
2023-08-23 18:31:08 -05:00
|
|
|
RUN apk update && apk upgrade
|
2024-04-24 16:11:49 -07: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 18:31:08 -05:00
|
|
|
|
2024-02-09 01:59:25 -08:00
|
|
|
COPY ./docker/apache/ /etc/apache2/
|
2023-08-23 18:31:08 -05:00
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN chmod 777 /var/www/html/4get/icons
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
EXPOSE 443
|
|
|
|
|
2024-03-22 00:34:50 -07:00
|
|
|
ENV FOURGET_PROTO=http
|
|
|
|
|
2023-08-23 18:31:08 -05:00
|
|
|
CMD ["./docker/docker-entrypoint.sh"]
|