mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2025-02-05 00:28:45 -05:00
The `alpine:latest` image do not longer include php83 on their repos. Using a specific image tag is better to prevent breakages on the future. Ref: https://github.com/dnaprawa/dockerfile-best-practices?tab=readme-ov-file#the-latest-is-an-evil-choose-specific-image-tag
17 lines
No EOL
462 B
Docker
17 lines
No EOL
462 B
Docker
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
|
|
|
|
COPY . .
|
|
|
|
RUN chmod 777 /var/www/html/4get/icons
|
|
|
|
EXPOSE 80
|
|
EXPOSE 443
|
|
|
|
ENV FOURGET_PROTO=http
|
|
|
|
ENTRYPOINT ["./docker/docker-entrypoint.sh"]
|
|
CMD ["start"] |