Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -18
Dockerfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
# Use an official Python runtime as a parent image
|
| 2 |
-
FROM python:3.8-slim
|
| 3 |
-
|
| 4 |
-
# Install system dependencies for pdf2svg and other utilities
|
| 5 |
-
RUN apt-get update && \
|
| 6 |
-
apt-get install -y pdf2svg poppler-utils && \
|
| 7 |
-
rm -rf /var/lib/apt/lists/*
|
| 8 |
-
|
| 9 |
-
# Copy the requirements.txt and install Python dependencies
|
| 10 |
-
COPY requirements.txt /app/requirements.txt
|
| 11 |
-
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 12 |
-
|
| 13 |
-
# Copy the application code into the container
|
| 14 |
-
COPY app.py /app/app.py
|
| 15 |
-
WORKDIR /app
|
| 16 |
-
|
| 17 |
-
# Run the application
|
| 18 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|