diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..3af6a7b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +__pycache__ +/venv \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8cf085f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.11 + +EXPOSE 7999 + +WORKDIR /app + +COPY ./requirements_version.txt . + +RUN pip install -r requirements_version.txt --no-cache-dir + +COPY . . + +CMD ["python", "main.py"]