Initial commit: network MCP service
This commit is contained in:
14
collectors/opnsense_collector/Dockerfile
Normal file
14
collectors/opnsense_collector/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY collectors/common /app/collectors/common
|
||||
COPY collectors/opnsense_collector /app/collectors/opnsense_collector
|
||||
|
||||
# We need to make sure the module path works.
|
||||
# The main.py does sys.path.append, but cleanest is to set PYTHONPATH.
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
RUN pip install requests elasticsearch==8.15.1 pyyaml
|
||||
|
||||
CMD ["python", "collectors/opnsense_collector/main.py"]
|
||||
Reference in New Issue
Block a user