Update roles/build_fastapi/tasks/main.yml

This commit is contained in:
2024-02-02 17:58:51 +08:00
parent 2e45a03fa1
commit 31e4fe1744

View File

@@ -32,11 +32,3 @@
path: "{{ build_root_abspath }}" path: "{{ build_root_abspath }}"
pull: false pull: false
tag: "{{ demobackend_version }}" tag: "{{ demobackend_version }}"
- name: run docker
community.docker.docker_container:
name: demobackend
state: started
recreate: yes
image: "helloworld-fastapi:{{ demobackend_version }}"
ports:
- "8080:8080"