This commit is contained in:
Maxim Romanko 2024-07-31 13:39:08 +03:00
commit 93237ec7d2
4 changed files with 25 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
venv

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM python:3.10.12
MAINTAINER Tan Jin (tjtanjin)
# set a directory for the app
WORKDIR /usr/src/app
# copy all the files to the container
COPY . .
RUN mkdir ./images
# install app-specific dependencies
RUN pip install --no-cache-dir -r req.txt
RUN pip install python-telegram-bot[job-queue]
# app command
CMD ["python", "-u", "./main.py"]

7
main.py Normal file
View File

@ -0,0 +1,7 @@
def main():
pass
if __name__ == "__main__":
main()

0
req.txt Normal file
View File