1 Star 0 Fork 17

无为而治/PHP-EPG-Docker-Server

forked from Tak/EPG-Server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
FROM alpine:3.20
LABEL maintainer="[email protected]"
LABEL description="Alpine based image with apache2 and php8.3."
# MOD: Tak
# 使用中科大镜像(改用GitHub Actions,无需镜像)
# 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 \
memcached \
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-xmlwriter \
php83-simplexml \
php83-json \
php83-posix \
php83-zip \
php83-pecl-memcached \
&& mkdir /htdocs
# 复制 ./epg 文件夹到 /htdocs
COPY ./epg /htdocs/epg
EXPOSE 80 443
ADD docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/wuwei666/PHP-EPG-Docker-Server.git
[email protected]:wuwei666/PHP-EPG-Docker-Server.git
wuwei666
PHP-EPG-Docker-Server
PHP-EPG-Docker-Server
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385