build(automated_api): 更新 Docker 构建命令
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
- 在 docker build 命令中添加了构建上下文路径(.) - 这个修改确保了 Docker 能够正确找到构建所需的文件
This commit is contained in:
parent
f633f3c69e
commit
39451d1803
@ -16,7 +16,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
working_directory: automated_api
|
working_directory: automated_api
|
||||||
commands:
|
commands:
|
||||||
- docker build -t rz/automated_api:latest -f Dockerfile
|
- docker build -t rz/automated_api:latest -f Dockerfile .
|
||||||
|
|
||||||
- name: run-container
|
- name: run-container
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user