Blame view
MLTD/Dockerfile
427 Bytes
0d8c0f816 initial commit |
1 2 3 4 5 6 |
FROM python:3.7.2-slim # We copy just the requirements.txt first to leverage Docker cache COPY src/requirements.txt /app/requirements.txt WORKDIR /app |
2e20dacc7 MLTD implementati... |
7 |
RUN pip install --upgrade pip && pip3 install -r requirements.txt && apt-get update && apt-get install -y rsyslog |
0d8c0f816 initial commit |
8 9 |
COPY src/. /app |
2e20dacc7 MLTD implementati... |
10 11 |
COPY xlsiem.conf /etc/rsyslog.d/xlsiem.conf COPY entrypoint.sh . |
0d8c0f816 initial commit |
12 |
|
2e20dacc7 MLTD implementati... |
13 14 |
RUN ["chmod", "+x", "/app/entrypoint.sh"] ENTRYPOINT ["/app/entrypoint.sh"] |