Krishna086 commited on
Commit
b9fdfa0
·
verified ·
1 Parent(s): 357303d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -10,7 +10,7 @@ COPY ./requirements.txt /app/requirements.txt
10
  # Install dependencies from requirements.txt only
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
- # Copy the entire project
14
  COPY . /app
15
 
16
  # Create user, directory, and log file with proper ownership in one step
@@ -25,5 +25,5 @@ ENV HOME=/home/user \
25
  # Expose port
26
  EXPOSE 7860
27
 
28
- # Command to run the app with enhanced debug logging
29
  CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port 7860 --log-level debug --log-config log_config.json --access-log"]
 
10
  # Install dependencies from requirements.txt only
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
+ # Copy the entire project including schemas and questions
14
  COPY . /app
15
 
16
  # Create user, directory, and log file with proper ownership in one step
 
25
  # Expose port
26
  EXPOSE 7860
27
 
28
+ # Command to run the app with debug logging
29
  CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port 7860 --log-level debug --log-config log_config.json --access-log"]