Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -23
Dockerfile
DELETED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
# Use Python 3.10 slim as the base image
|
| 2 |
-
FROM python:3.10-slim
|
| 3 |
-
|
| 4 |
-
# Set the working directory in the container
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Install Poppler utilities using apt-get (forcing update and clearing apt cache)
|
| 8 |
-
RUN apt-get update && apt-get install -y poppler-utils && rm -rf /var/lib/apt/lists/*
|
| 9 |
-
|
| 10 |
-
# Copy the requirements.txt file into the container
|
| 11 |
-
COPY requirements.txt .
|
| 12 |
-
|
| 13 |
-
# Install Python dependencies
|
| 14 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
-
|
| 16 |
-
# Copy the entire application folder to the container
|
| 17 |
-
COPY . .
|
| 18 |
-
|
| 19 |
-
# Expose the port the app runs on (if using Streamlit or Flask, for example)
|
| 20 |
-
EXPOSE 8501
|
| 21 |
-
|
| 22 |
-
# Command to run the app (assuming app.py is the entry point)
|
| 23 |
-
CMD ["streamlit", "run", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|