Container, bug fixes

This commit is contained in:
phil 2025-01-09 23:41:32 +01:00
parent 23f180e521
commit 57041e9233
14 changed files with 512 additions and 291 deletions

14
Containerfile Normal file
View file

@ -0,0 +1,14 @@
FROM docker.io/library/python:alpine
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
COPY . /src
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /src
RUN uv sync --frozen --no-cache && uv pip install --system .
#ENV PATH="/src/.venv/bin:$PATH"
CMD ["oidc-test", "--port", "80"]