16 lines
551 B
Docker
16 lines
551 B
Docker
# Build: podman build -t code.philo.ydns.eu/philorg/test-woodpecker -f Containerfile
|
|
|
|
FROM docker.io/python:alpine
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app
|
|
|
|
# Sync the project into a new environment, using the frozen lockfile
|
|
RUN \
|
|
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/local/bin/uv,target=/bin/uv \
|
|
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/lib/libpcre2-8.so.0,target=/usr/lib/libpcre2-8.so.0 \
|
|
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/bin/git,target=/usr/bin/git \
|
|
uv pip install --system .
|
|
|
|
ENTRYPOINT ["foo"]
|