Spaces:
Sleeping
Sleeping
Update DockerFile
Browse files- DockerFile +1 -2
DockerFile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use the official Python image
|
| 2 |
-
FROM python:3.
|
| 3 |
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
|
@@ -10,7 +10,6 @@ COPY . /app
|
|
| 10 |
# Install any needed dependencies specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
# Make port 5000 available to the world outside this container
|
| 14 |
EXPOSE 7820
|
| 15 |
|
| 16 |
# Run app.py when the container launches
|
|
|
|
| 1 |
# Use the official Python image
|
| 2 |
+
FROM python:3.8-slim
|
| 3 |
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
|
|
|
| 10 |
# Install any needed dependencies specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
|
|
|
| 13 |
EXPOSE 7820
|
| 14 |
|
| 15 |
# Run app.py when the container launches
|