Initial docker build setup

This commit is contained in:
perillamint 2024-05-16 00:57:44 +09:00
parent 97fea9f67a
commit ae4c3318ab
2 changed files with 15 additions and 0 deletions

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
Dockerfile
.git
.dockerignore

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM docker.io/python:3.11-bookworm
RUN apt-get update && apt-get install -y libgl1 && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /opt/minya
WORKDIR /opt/minya
ADD . /opt/minya
RUN python3 -m pip install -r requirements.txt
CMD ["python3", "minya.py"]