Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
# Use the official Python 3.10.9 image
|
| 2 |
FROM python:3.10.9
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# Set the working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
| 1 |
# Use the official Python 3.10.9 image
|
| 2 |
FROM python:3.10.9
|
| 3 |
|
| 4 |
+
# Install wkhtmltopdf and its dependencies
|
| 5 |
+
RUN apt-get update && apt-get install -y \
|
| 6 |
+
wkhtmltopdf \
|
| 7 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
# Set the working directory
|
| 9 |
WORKDIR /app
|
| 10 |
|