first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends openssh-client tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip install --no-cache-dir pyyaml==6.0.2
|
||||
|
||||
WORKDIR /app
|
||||
COPY common/sshpull_hosts.py collector/collector.py /app/
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENTRYPOINT ["python", "/app/collector.py"]
|
||||
CMD ["run"]
|
||||
Reference in New Issue
Block a user