feat: update Dockerfile
This commit is contained in:
parent
1baf9065dc
commit
38ff0ae32a
@ -1,5 +1,5 @@
|
|||||||
# download image here: https://docker.aityp.com/image/docker.io/python:3.12-slim
|
# download image here: https://docker.aityp.com/image/docker.io/python:3.12-slim
|
||||||
FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12-slim
|
FROM python:3.12-slim
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@ -23,7 +23,7 @@ class AppSettings(BaseSettings):
|
|||||||
|
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
env_file = "local.env"
|
env_file = ".env"
|
||||||
|
|
||||||
|
|
||||||
app_settings = AppSettings()
|
app_settings = AppSettings()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user