Putting it in a container so it behaves
This commit is contained in:
parent
747cb2f036
commit
25ae09025e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
secrets.py
|
||||
pyenv.cfg
|
||||
lib/
|
||||
bin/
|
||||
__pycache__/
|
||||
|
|
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
|
@ -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
|
Loading…
Reference in a new issue