initial commit
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user