build(automated_api): 更新 Docker 构建命令
Some checks reported errors
continuous-integration/drone/push Build was killed

- 在 docker build 命令中添加了构建上下文路径(.)
- 这个修改确保了 Docker 能够正确找到构建所需的文件
This commit is contained in:
lixin 2025-01-10 12:40:32 +08:00
parent f633f3c69e
commit 39451d1803

View File

@ -16,7 +16,7 @@ steps:
path: /var/run/docker.sock
working_directory: automated_api
commands:
- docker build -t rz/automated_api:latest -f Dockerfile
- docker build -t rz/automated_api:latest -f Dockerfile .
- name: run-container
image: docker:latest