Update Dockerfile
Browse files- 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
|
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
|
|
|
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
|