Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -20
Dockerfile
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
# Base image
|
2 |
-
FROM python:3.10-slim
|
3 |
-
|
4 |
-
# Set the working directory
|
5 |
-
WORKDIR /home/user/app
|
6 |
-
|
7 |
-
# Copy the requirements file into the container at /tmp
|
8 |
-
COPY requirements.txt /tmp/requirements.txt
|
9 |
-
|
10 |
-
# Install dependencies
|
11 |
-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
12 |
-
|
13 |
-
# Copy the current directory contents into the container at /home/user/app
|
14 |
-
COPY . /home/user/app
|
15 |
-
|
16 |
-
# Expose port 8501 (default port for Streamlit)
|
17 |
-
EXPOSE 8501
|
18 |
-
|
19 |
-
# Run the Streamlit app
|
20 |
-
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|