commit 93237ec7d2473b482f9222026a6ce5fe948d9f2e Author: Maxim Romanko Date: Wed Jul 31 13:39:08 2024 +0300 [INIT] diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ceb386 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..905fad6 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..bd1d0e2 --- /dev/null +++ b/main.py @@ -0,0 +1,7 @@ + + +def main(): + pass + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/req.txt b/req.txt new file mode 100644 index 0000000..e69de29