Spaces:
Runtime error
Runtime error
Delete Dockerfile.txt
Browse files- Dockerfile.txt +0 -22
Dockerfile.txt
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
# Use the official Python base image
|
| 2 |
-
FROM python:3.10-slim
|
| 3 |
-
|
| 4 |
-
# Set environment variables
|
| 5 |
-
ENV PYTHONDONTWRITEBYTECODE=1
|
| 6 |
-
ENV PYTHONUNBUFFERED=1
|
| 7 |
-
|
| 8 |
-
# Set working directory
|
| 9 |
-
WORKDIR /app
|
| 10 |
-
|
| 11 |
-
# Copy dependency file first and install
|
| 12 |
-
COPY requirements.txt /app/
|
| 13 |
-
RUN pip install --upgrade pip && pip install -r requirements.txt
|
| 14 |
-
|
| 15 |
-
# Copy all project files to container
|
| 16 |
-
COPY . /app/
|
| 17 |
-
|
| 18 |
-
# Expose Streamlit default port
|
| 19 |
-
EXPOSE 7860
|
| 20 |
-
|
| 21 |
-
# Run the Streamlit app
|
| 22 |
-
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|