add: docker

This commit is contained in:
2024-10-03 16:25:35 +02:00
parent 95ce30c5a9
commit f0cd6ccc12
2 changed files with 30 additions and 0 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:alpine
WORKDIR /app
RUN apk update && apk upgrade
RUN apk add python3 py3-pip
RUN python3 -m pip config set global.require-virtualenv False
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
ENTRYPOINT ["python3", "main.py"]