1 Star 0 Fork 7

hjw0968/bctos

forked from 凡星/bctos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
FROM alpine
LABEL maintainer="bctos.cn"
COPY server/panel/entrypoint.sh /bctos/server/panel/entrypoint.sh
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN chmod 777 /bctos/server/panel/entrypoint.sh \
&& addgroup -g 82 -S www-data; adduser -u 82 -D -s "/bin/sh" -G www-data www-data \
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update \
&& apk add --no-cache curl tzdata \
&& cp -rf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& apk add --no-cache nginx php7 php7-fpm php7-ctype php7-curl php7-dom php7-fileinfo \
php7-gd php7-iconv php7-json php7-mbstring php7-mysqlnd php7-pdo php7-pcntl php7-openssl \
php7-opcache php7-pdo_mysql php7-posix php7-session php7-pdo_sqlite php7-simplexml php7-memcached \
php7-xml php7-xmlreader php7-xmlwriter php7-simplexml php7-pecl-ssh2 php7-pecl-yaml php7-phar \
&& apk del tzdata \
&& rm -rf /var/cache/apk/*
EXPOSE 80 443 2100 2120 2121
ENTRYPOINT ["/bctos/server/panel/entrypoint.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hjw0968/bctos.git
git@gitee.com:hjw0968/bctos.git
hjw0968
bctos
bctos
master

搜索帮助