Simple service with posting client ip to postgre

This commit is contained in:
Vbarinov
2023-03-18 05:21:13 +05:30
parent f7d04a4f13
commit ac880ad719
15 changed files with 520 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM python:3.8-slim-buster
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
EXPOSE 5000
COPY ./connector.py ./app/connector.py
WORKDIR /app
ENTRYPOINT ["python","connector.py"]