Initial commit
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update -qq \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends \
|
||||
python3-yaml ca-certificates docker.io \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Uses host Docker Engine via mounted /var/run/docker.sock (see compose.yml).
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install -r requirements.txt
|
||||
|
||||
COPY updater/ ./updater/
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
CMD ["python", "-m", "updater"]
|
||||
Reference in New Issue
Block a user