Browse Source

Merge pull request 'feat: 更新构建镜像命令,使用 Dockerfile' (#2) from cjl-dev into master

Reviewed-on: http://120.26.116.243:3000/root/model-lab/pulls/2
master
root 2 weeks ago
parent
commit
210597c92a
  1. 4
      .drone.yml

4
.drone.yml

@ -19,8 +19,8 @@ steps:
- name: dockersock - name: dockersock
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
# 构建镜像(你需要在项目中准备 scripts/Dockerfile.python) # 构建镜像
- docker build -t alert-python:latest -f Dockerfile.python . - docker build -t alert-python:latest -f Dockerfile .
- name: run python container - name: run python container
image: docker image: docker

Loading…
Cancel
Save