1 Star 0 Fork 0

lolfans/api_admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 779 Bytes
一键复制 编辑 原始数据 按行查看 历史
有所向往 提交于 2019-05-05 10:29 . Update Dockerfile
FROM liudashuai/docker-nginx-php-supervisor-simple:latest AS base1
COPY / /usr/share/nginx/html/
COPY /.env.sandbox /usr/share/nginx/html/.env
COPY /supervisor/ /etc/supervisor/conf.d/
RUN mkdir -p /usr/share/vendor
WORKDIR /usr/share/nginx/html/
RUN cd /usr/share/nginx/html/ && composer install && cp -r /usr/share/nginx/html/vendor/* /usr/share/vendor/
#FROM node as base2
#RUN mkdir -p /www/html
#COPY --from=base1 /usr/share/nginx/html/ /www/html/
#WORKDIR /www/html/
#RUN npm install && npm run build
FROM liudashuai/docker-nginx-php-supervisor-simple:latest
RUN mkdir -p /usr/share/nginx/html/vendor
COPY --from=base1 /usr/share/nginx/html/ /usr/share/nginx/html/
COPY --from=base1 /usr/share/vendor/ /usr/share/nginx/html/vendor/
WORKDIR /usr/share/nginx/html/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/lolfans/api_admin.git
[email protected]:lolfans/api_admin.git
lolfans
api_admin
api_admin
master

搜索帮助