Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
16 lines
451 B
Docker
16 lines
451 B
Docker
FROM python:3.12-alpine@sha256:6d43704baacd1bfbe7c295d7f13079d5d8104ed33568873133f8fc69980419df
|
|
|
|
# Pakete vom lokalen Spiegel statt aus dem Netz (Projekt Paketspiegel).
|
|
ENV PIP_INDEX_URL=http://172.17.0.1:3141/root/freigegeben/+simple/ \
|
|
PIP_TRUSTED_HOST=172.17.0.1
|
|
|
|
RUN pip install --no-cache-dir requests==2.32.3
|
|
|
|
WORKDIR /app
|
|
COPY bruecke.py /app/bruecke.py
|
|
|
|
RUN adduser -D -u 1000 bruecke
|
|
USER bruecke
|
|
|
|
CMD ["python", "-u", "/app/bruecke.py"]
|