nbintang commited on
Commit
b704efb
·
1 Parent(s): ec6d699

fix: Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -4
  2. pyproject.toml +3 -6
Dockerfile CHANGED
@@ -11,10 +11,7 @@ COPY requirements.txt .
11
  RUN pip install --no-cache-dir --upgrade pip \
12
  && pip install --no-cache-dir -r requirements.txt
13
 
14
- COPY ./app ./app
15
- COPY ./models ./models
16
- COPY ./aerich.ini ./aerich.ini
17
- COPY ./migrations ./migrations
18
 
19
  EXPOSE 7860
20
 
 
11
  RUN pip install --no-cache-dir --upgrade pip \
12
  && pip install --no-cache-dir -r requirements.txt
13
 
14
+ COPY . .
 
 
 
15
 
16
  EXPOSE 7860
17
 
pyproject.toml CHANGED
@@ -1,7 +1,4 @@
1
- [tool.aerich]
2
-
3
- tortoise_orm = "app.config.db_config.tortoise_config.TORTOISE_ORM"
4
-
5
- location = "./migrations"
6
-
7
  src_folder = "./."
 
1
+ [tool.aerich]
2
+ tortoise_orm = "app.config.db_config.tortoise_config.TORTOISE_ORM"
3
+ location = "./migrations"
 
 
 
4
  src_folder = "./."