Initial set up for docker-compose and Dockerfile #1
2 changed files with 15 additions and 0 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Dockerfile
|
||||||
|
.git
|
||||||
|
.dockerignore
|
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue