Public Repository

Last pushed: 9 months ago
Short Description
精简的PHP开发环境
Full Description
  • php v7.0.15
  • redis v2.8.4
  • nginx/1.10.0

nginx 的配置

include /work/nginx_config/*.conf;
include /work/*/nginx.conf;

运行服务器

  • 启动登录

    docker run -it -v [/localdir]:/work -p 80:80 -p 443:443 liufang/work-v1.8
    /root/shell/start.sh

  • 守护进程方式运行

    docker run -d -p 80:80 -p 443:443 -v /d/work:/work liufang/work-v1.8
    /bin/bash -c "/root/shell/start.sh;while true; do echo hello world;sleep 1; done"

Docker Pull Command
Owner
liufang