Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
# Use the official Python 3.10.9 image
|
| 2 |
FROM python:3.10
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Copy the current directory contents into the container at .
|
| 5 |
-
COPY .
|
| 6 |
|
| 7 |
-
# Set the working directory to /
|
| 8 |
-
WORKDIR /
|
| 9 |
|
| 10 |
# Install requirements.txt
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
|
|
| 1 |
# Use the official Python 3.10.9 image
|
| 2 |
FROM python:3.10
|
| 3 |
|
| 4 |
+
# Set the working directory to /
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
# Copy the current directory contents into the container at .
|
| 8 |
+
COPY . /app/
|
| 9 |
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# Install requirements.txt
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|