Add Dockerfile and fix deprecated call

This commit is contained in:
Yashar Dabiran 2025-02-12 01:04:27 -05:00
parent ccb9181ac9
commit e3fcfd34c7
2 changed files with 12 additions and 1 deletions

10
Dockerfile Normal file
View file

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