Putting it in a container so it behaves

This commit is contained in:
viridian 2024-10-08 19:49:44 +02:00
parent 747cb2f036
commit 25ae09025e
3 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
secrets.py
pyenv.cfg
lib/
bin/
__pycache__/

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
COPY modules/ ./modules
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./main.py"]

View file

@ -1,5 +0,0 @@
home = /usr/bin
include-system-site-packages = false
version = 3.12.6
executable = /usr/bin/python3.12
command = /usr/bin/python -m venv /home/leonie/Documents/projects/meta-kitties