15 lines
408 B
Docker
15 lines
408 B
Docker
# Build: podman build -t code.philo.ydns.eu/k-net/knoc -f Containerfile
|
|
|
|
FROM docker.io/python:3.13-slim
|
|
#RUN apk add --no-cache git
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/
|
|
COPY --from=docker.io/python:3.13 /usr/bin/git /usr/local/bin/git
|
|
|
|
COPY . /app
|
|
|
|
# Sync the project into a new environment, using the frozen lockfile
|
|
WORKDIR /app
|
|
|
|
RUN uv pip install --system .
|
|
|
|
ENTRYPOINT ["knoc"]
|