-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv.yml
37 lines (32 loc) · 1016 Bytes
/
cv.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ---------------------------------
# Use the OpenJDK 17 base image
# ---------------------------------
FROM python:3.12
# ---------------------------------
# Install necessary packages
# ---------------------------------
RUN apt-get update && apt-get install -y \
# python3 \
# python3-pip \
# python3-bs4 \
libpango1.0-0 \
wkhtmltopdf \
libcairo2 \
libgdk-pixbuf2.0-0 \
libffi-dev
# ---------------------------------
# Install necessary Python packages
# ---------------------------------
RUN pip3 install markdown2 weasyprint pygments markdown pdfkit PyPDF2
# ---------------------------------
# Set the working directory inside the container
# ---------------------------------
WORKDIR /app
# ---------------------------------
# Copy the necessary files to the container
# ---------------------------------
COPY sys ./sys
# ---------------------------------
# Command to start the Python script
# ---------------------------------
CMD ["python3", "./sys/markdown_to_pdf.py"]