bachephysicdun commited on
Commit
9253c77
·
1 Parent(s): 74766ef

working files

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app/main.py +3 -3
Dockerfile CHANGED
@@ -19,7 +19,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
19
  COPY --chown=user . /app
20
 
21
  # Make sure that you are copying the entire app directory into the container
22
- # COPY --chown=user ./app /app
23
 
24
 
25
  # Add a debug command to check file location (remove this once verified)
 
19
  COPY --chown=user . /app
20
 
21
  # Make sure that you are copying the entire app directory into the container
22
+ COPY --chown=user ./app /app
23
 
24
 
25
  # Add a debug command to check file location (remove this once verified)
app/main.py CHANGED
@@ -12,9 +12,9 @@ import crud, models, schemas
12
  from database import SessionLocal, engine
13
  from callbacks import LogResponseCallback
14
 
15
- import sys
16
- import os
17
- sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
18
 
19
  models.Base.metadata.create_all(bind=engine)
20
 
 
12
  from database import SessionLocal, engine
13
  from callbacks import LogResponseCallback
14
 
15
+ # import sys
16
+ # import os
17
+ # sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
18
 
19
  models.Base.metadata.create_all(bind=engine)
20