This commit is contained in:
parent
8aaa584835
commit
f5638a37a1
5 changed files with 46 additions and 0 deletions
15
Containerfile
Normal file
15
Containerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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"]
|
Loading…
Add table
Add a link
Reference in a new issue