Skip to content

Commit

Permalink
migrate vc-authn to use poetry for dependancy managment
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
  • Loading branch information
Gavinok committed Sep 16, 2024
1 parent f1f9cd9 commit 1ee1935
Show file tree
Hide file tree
Showing 6 changed files with 2,281 additions and 32 deletions.
11 changes: 7 additions & 4 deletions docker/oidc-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ FROM python:3.11 as main

WORKDIR /app

COPY oidc-controller/requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
ENV POETRY_VIRTUALENVS_CREATE=false
RUN pip3 install --no-cache-dir poetry

COPY oidc-controller ./
COPY pyproject.toml poetry.lock README.md ./
RUN poetry install --only main

COPY ./oidc-controller .

EXPOSE 5000

RUN ["chmod", "+x", "./docker-entrypoint.sh"]

ENTRYPOINT ["./docker-entrypoint.sh"]
ENTRYPOINT ["./docker-entrypoint.sh"]
7 changes: 0 additions & 7 deletions oidc-controller/pyproject.toml

This file was deleted.

9 changes: 0 additions & 9 deletions oidc-controller/requirements-dev.txt

This file was deleted.

12 changes: 0 additions & 12 deletions oidc-controller/requirements.txt

This file was deleted.

Loading

0 comments on commit 1ee1935

Please sign in to comment.