Simple service with posting client ip to postgre
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user