From 72041a472df429787b9fbc5066a0a1c332c269d8 Mon Sep 17 00:00:00 2001 From: neko Date: Thu, 16 Jan 2025 21:11:39 +0500 Subject: [PATCH] Add initial Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..49f3231 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine:latest +RUN apk add --no-cache libreoffice py3-pip + +WORKDIR /2pdf + +COPY main.py /2pdf/ +COPY 2pdf.session /2pdf/ +RUN pip install --break-system-packages pyrogram + +CMD ["python", "main.py"] + + +