yasserrmd commited on
Commit
f108ee3
·
verified ·
1 Parent(s): c26ac06

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -9,13 +9,13 @@ ENV PATH="/home/user/.local/bin:$PATH"
9
  WORKDIR /app
10
 
11
  # Copy only the requirements file first to install deps
12
- COPY --chown=user src/requirements.txt ./requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
- # Copy the entire project (src + root files like .db)
16
  COPY --chown=user . .
17
 
18
- # Set environment variable for Flask app location
19
  ENV FLASK_APP=src/main.py
20
 
21
  # Run the Flask app directly
 
9
  WORKDIR /app
10
 
11
  # Copy only the requirements file first to install deps
12
+ COPY --chown=user ./requirements.txt ./requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
+
16
  COPY --chown=user . .
17
 
18
+
19
  ENV FLASK_APP=src/main.py
20
 
21
  # Run the Flask app directly