1 Star 0 Fork 162

祀画 / lamp-web

forked from 最后 / lamp-web 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Dockerfile 380 Bytes
Copy Edit Web IDE Raw Blame History
最后 authored 2020-11-25 21:30 . feat: 完善租户功能
FROM nginx:1.17.0
MAINTAINER zuihou 306479353@qq.com
COPY nginx.template /etc/nginx/conf.d/nginx.template
COPY lamp-web/ /etc/nginx/html
# 通过 envsubst 命令替换 nginx.template 模板中的变量,并覆盖/etc/nginx/nginx.conf
CMD envsubst '$NGINX_HOST $DOCKER_REQUEST_DOMAIN_PREFIX' < /etc/nginx/conf.d/nginx.template > /etc/nginx/nginx.conf && nginx -g 'daemon off;'

Comment ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/135781/lamp-web.git
git@gitee.com:135781/lamp-web.git
135781
lamp-web
lamp-web
master

Search