Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +15 -15
Dockerfile
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
-
# Use and official Python base image
|
| 2 |
-
FROM python:3.13
|
| 3 |
-
# Set the working directory inside container
|
| 4 |
-
WORKDIR /app
|
| 5 |
-
# Copy files into the container
|
| 6 |
-
COPY requirements.txt .
|
| 7 |
-
COPY app.py .
|
| 8 |
-
# Install python dependencies
|
| 9 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
-
|
| 11 |
-
# Expose the port for streamlit app
|
| 12 |
-
EXPOSE 8501
|
| 13 |
-
|
| 14 |
-
# Default command to run your app
|
| 15 |
-
CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0"]
|
|
|
|
| 1 |
+
# Use and official Python base image
|
| 2 |
+
FROM python:3.13
|
| 3 |
+
# Set the working directory inside container
|
| 4 |
+
WORKDIR /app
|
| 5 |
+
# Copy files into the container
|
| 6 |
+
COPY requirements.txt .
|
| 7 |
+
COPY app.py .
|
| 8 |
+
# Install python dependencies
|
| 9 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
+
|
| 11 |
+
# Expose the port for streamlit app
|
| 12 |
+
EXPOSE 8501
|
| 13 |
+
|
| 14 |
+
# Default command to run your app
|
| 15 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|