initial commit

This commit is contained in:
2024-09-14 02:06:51 +02:00
commit d9ae6527a1
13 changed files with 704 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM python:3.10
LABEL authors="Lord Baryhobal"
LABEL maintainer="Lord Baryhobal <lordbaryhobal@gmail.com>"
RUN echo "Installing Typst" \
&& wget -q -O /tmp/typst.tar.xz https://github.com/typst/typst/releases/download/v0.11.1/typst-x86_64-unknown-linux-musl.tar.xz \
&& tar -x /tmp/typst.tar.xz -C /tmp/ \
&& mv /tmp/typst-x86_64-unknown-linux-musl/typst /usr/bin/typst \
&& chmod +x /usr/bin/typst \
&& rm -r /tmp/typst-x86_64-unknown-linux-musl \
&& rm /tmp/typst.tar.xz
WORKDIR /app
COPY src /app
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "beebot.py"]