diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fd17096 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3.12-slim +WORKDIR /app +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt +COPY site /app/site +COPY drhider /app/drhider +EXPOSE 5000 +CMD ["python", "site/app.py"] diff --git a/site/app.py b/site/app.py index 37e0b4e..0c9efbe 100644 --- a/site/app.py +++ b/site/app.py @@ -20,7 +20,7 @@ if _sys_path_root not in sys.path: sys.path.insert(0, _sys_path_root) # Версия приложения (меняется при изменениях) -VERSION = "5.2.0" +VERSION = "5.2.1" def create_app():