调整auth的Dockerfile位置

This commit is contained in:
jayhgq 2026-02-24 23:01:24 +08:00
parent f7d230f11b
commit be3b2d1351
4 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ app = FastAPI()
@app.get("/")
# 声明装饰器函数
async def home():
return {"message": "Hello World"}
return {"message": "Hello World"}
# 如果使用命令行启动使用uvicorn 文件名:app --reload启动即可下面命令就不用写
# 如果写下面的命令就不需要命令行启动了直接用IDE运行即可

View File

@ -103,7 +103,7 @@ services:
# Auth 服务
auth:
build:
context: ../backend/auth/dockerfile
context: ../backend/auth
dockerfile: Dockerfile
container_name: bs-auth
restart: always