develop
Gong 2023-08-29 17:07:21 +08:00
parent d0c2083a0e
commit fb045ada78
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@ FROM gong921123/debian-nginx-php114-74:latest
# 复制当前目录的所有 到上面容器的 var/www中去变成一个新的镜像
# 要想复制其他文件 就必须把dockerfile和其他文件放一起
# 这里复制了这个项目的所有
# test
COPY . /var/www
WORKDIR /var/www
CMD ["php", "/var/www/bin/hyperf.php", "start"]
COPY . /var/www
CMD ["php", "bin/hyperf.php", "start"]