Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
FROM python:3.10
|
| 2 |
|
| 3 |
-
WORKDIR /app
|
| 4 |
|
| 5 |
# Install dependencies
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
RUN pip install -r requirements.txt
|
| 8 |
|
| 9 |
# Copy your application code
|
|
|
|
| 1 |
FROM python:3.10
|
| 2 |
|
| 3 |
+
WORKDIR /app/src
|
| 4 |
|
| 5 |
# Install dependencies
|
| 6 |
+
# Copy requirements.txt to src directory
|
| 7 |
+
COPY requirements.txt /app/src/
|
| 8 |
+
|
| 9 |
RUN pip install -r requirements.txt
|
| 10 |
|
| 11 |
# Copy your application code
|