From 21b5be9a1a82ade3147c83cd3c823fac33513058 Mon Sep 17 00:00:00 2001
From: timofey <tim@ongoteam.yaconnect.com>
Date: Tue, 1 Nov 2022 08:03:33 +0000
Subject: [PATCH] requirements.txt

---
 Dockerfile       | 9 +++++----
 requirements.txt | 3 +++
 setup.py         | 2 +-
 3 files changed, 9 insertions(+), 5 deletions(-)
 create mode 100644 requirements.txt

diff --git a/Dockerfile b/Dockerfile
index 56fa7ee..06a1b48 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,12 @@
 # syntax=docker/dockerfile:1
 FROM python:3.10
 WORKDIR /v6
-ENV v6host=0.0.0.0
-EXPOSE 5900
-ENV v6port=5900
 ENV v6root=/v6data
-COPY v6d0auth dist/v6d0auth
+ENV v6host=0.0.0.0
+ENV v6port=5900
+COPY requirements.txt dist/requirements.txt
+RUN pip install -r dist/requirements.txt
 COPY setup.py dist/setup.py
+COPY v6d0auth dist/v6d0auth
 RUN pip install -e dist/.
 CMD ["python3", "-m", "v6d0auth.run-server"]
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..a2b6f0a
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,3 @@
+aiohttp
+PyNaCl~=1.4.0
+ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@632569a13521e6769ebe8bc4339c4f39a519be4f
diff --git a/setup.py b/setup.py
index c3e6efb..379bef4 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ setup(
     packages=['v6d0auth'],
     url='',
     license='',
-    author='PARRRATE T&V',
+    author='PARRRATE TNV',
     author_email='',
     description='',
     install_requires=[