1 Star 0 Fork 14

Tokyo1/PHP-EPG-Docker-Server

forked from Tak/EPG-Server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
FROM alpine:3.20
LABEL maintainer="erik.soderblom@gmail.com"
LABEL description="Alpine based image with apache2 and php8.3."
# MOD: Tak
# 使用中科大镜像
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
# 安装 Apache 和 PHP
RUN apk --no-cache --update \
add apache2 \
apache2-ssl \
curl \
php83-apache2 \
php83-bcmath \
php83-bz2 \
php83-calendar \
php83-common \
php83-ctype \
php83-curl \
php83-dom \
php83-gd \
php83-iconv \
php83-mbstring \
php83-mysqli \
php83-mysqlnd \
php83-openssl \
php83-pdo_mysql \
php83-pdo_pgsql \
php83-pdo_sqlite \
php83-phar \
php83-session \
php83-xml \
php83-xmlreader \
php83-simplexml \
php83-json \
php83-posix \
&& mkdir /htdocs
# 复制 ./epg 文件夹到 /htdocs
COPY ./epg /htdocs/epg
EXPOSE 80 443
ADD docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh
HEALTHCHECK CMD wget -q --no-cache --spider localhost
ENTRYPOINT ["/docker-entrypoint.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/tokyo1/PHP-EPG-Docker-Server.git
git@gitee.com:tokyo1/PHP-EPG-Docker-Server.git
tokyo1
PHP-EPG-Docker-Server
PHP-EPG-Docker-Server
main

搜索帮助