diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bff7a99 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM python:3.12-slim + +WORKDIR /app + +RUN apt-get update && apt-get install -y --no-install-recommends \ + curl \ + ca-certificates \ + bash \ + && rm -rf /var/lib/apt/lists/* + +# kubectl installeren +RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \ + && install -m 0755 kubectl /usr/local/bin/kubectl \ + && rm kubectl + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY bot.py . + +CMD ["python", "bot.py"] \ No newline at end of file