Fix connections

This commit is contained in:
ashatora
2024-05-01 12:01:30 +03:00
parent 90d628be01
commit 18be337d34
6 changed files with 73 additions and 41 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM reg.ivazh.ru/infra-oodb
WORKDIR /app
COPY replication_itv ./replication_itv
COPY requirements.txt ./
RUN pip3 install -r requirements.txt && \
mkdir -p /opt/tnt/bin && \
ln -s /usr/bin/python3 /opt/tnt/bin/python3
ENV LD_LIBRARY_PATH "/app"
ENV PYTHONPATH "${PYTHONPATH}:/app"
CMD ["python3", "-m", "replication_itv"]