ngn
ce81a54de1
All checks were successful
Build and publish the docker image / build (push) Successful in 18s
Signed-off-by: ngn <ngn@ngn.tf>
25 lines
604 B
Docker
25 lines
604 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk update
|
|
RUN apk upgrade
|
|
|
|
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
|
|
|
|
COPY ./docker/httpd.conf /etc/apache2/httpd.conf
|
|
COPY ./docker/init.sh /
|
|
|
|
WORKDIR /var/www/html
|
|
COPY ./src ./4get
|
|
|
|
WORKDIR /var/www/html/4get
|
|
COPY ./docker/gen_config.php .
|
|
|
|
RUN chmod 777 /var/www/html/4get/icons
|
|
RUN chmod +x /init.sh
|
|
|
|
CMD ["/init.sh"]
|