21 Star 0 Fork 5

cp / cp-gitee-public

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile文件123.@.q_-1 817 Bytes
一键复制 编辑 原始数据 按行查看 历史
wtx1234 提交于 2023-02-24 11:03 . update Dockerfile文件123.@.q_-1.
FROM cp-test-dont-delete-cn-beijing.cr.volces.com/cp-test-pnline/cp-test-online-dont-delete:source
MAINTAINER richard
# 设置环境
ENV RTMP_VERSION=1.1.10 \
NPS_VERSION=1.11.33.4 \
LIBAV_VERSION=11.8 \
NGINX_VERSION=1.10.1 \
NGINX_USER=www-data \
NGINX_SITECONF_DIR=/etc/nginx/sites-enabled \
NGINX_LOG_DIR=/var/log/nginx \
NGINX_TEMP_DIR=/var/lib/nginx \
NGINX_SETUP_DIR=/var/cache/nginx
# 设置构建时变量,镜像建立完成后就失效
ARG BUILD_LIBAV=false
ARG WITH_DEBUG=false
ARG WITH_PAGESPEED=true
ARG WITH_RTMP=true
COPY . .
RUN touch index.html
RUN echo '<h1>Hello, Docker!</h1>' > index.html
RUN rm /usr/share/nginx/html/index.html
RUN mv index.html /usr/share/nginx/html/
EXPOSE 80/tcp 443/tcp 1935/tcp
ENTRYPOINT ["/sbin/entrypoint.sh"]
CMD ["/usr/sbin/nginx"]
1
https://gitee.com/sxz12345/cp-gitee-public.git
git@gitee.com:sxz12345/cp-gitee-public.git
sxz12345
cp-gitee-public
cp-gitee-public
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891