Container, bug fixes
This commit is contained in:
parent
23f180e521
commit
57041e9233
14 changed files with 512 additions and 291 deletions
14
Containerfile
Normal file
14
Containerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue