Delete Dockerfile
Browse files- Dockerfile +0 -18
Dockerfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
# Use a suitable base image with Python installed
|
| 2 |
-
FROM python:3.9-slim
|
| 3 |
-
|
| 4 |
-
# Set the working directory inside the container to /app
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Copy all files from the current directory on the host to the container's /app directory
|
| 8 |
-
COPY . .
|
| 9 |
-
|
| 10 |
-
# Install Python dependencies listed in requirements.txt
|
| 11 |
-
RUN pip3 install -r requirements.txt
|
| 12 |
-
|
| 13 |
-
# Define the command to run the Streamlit app on port 8501 and make it accessible externally
|
| 14 |
-
# We remove the XSRF protection flag as it's often unnecessary and sometimes problematic in containerized environments.
|
| 15 |
-
# The --server.maxMessageSize is increased due to the large LLM being loaded.
|
| 16 |
-
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.maxMessageSize=500"]
|
| 17 |
-
|
| 18 |
-
# Note: Hugging Face Spaces often defaults to port 7860 for Streamlit now. We update it accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|