Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10
|
2 |
+
|
3 |
+
# Install poppler-utils
|
4 |
+
RUN apt-get update && apt-get install -y poppler-utils
|
5 |
+
|
6 |
+
# Set the working directory
|
7 |
+
WORKDIR /app
|
8 |
+
|
9 |
+
# Copy the application code
|
10 |
+
COPY . /app
|
11 |
+
|
12 |
+
# Install Python dependencies
|
13 |
+
RUN pip install -r requirements.txt
|
14 |
+
|
15 |
+
# Run the application
|
16 |
+
CMD ["streamlit", "run", "app.py"]
|