mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-03-21 10:16:34 +08:00
update
This commit is contained in:
parent
d7f221b847
commit
be3e486011
2
.github/workflows/develop.yml
vendored
2
.github/workflows/develop.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Pull image
|
||||
run: |
|
||||
docker pull ${{ env.IMAGE }}:latest --platform darwin/amd64 || true
|
||||
docker pull ${{ env.IMAGE }}:latest --platform linux/amd64 || true
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build \
|
||||
|
||||
@ -13,6 +13,7 @@ services:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
platform: linux/amd64
|
||||
command: pipenv run uvicorn main:app --reload --workers 1 --host 0.0.0.0 --port 8000
|
||||
volumes:
|
||||
- ./backend:/usr/src/app
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user