-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
# ============================================================================== | ||
|
||
# Load base Ubuntu image | ||
FROM dmri/ci-cd AS base | ||
FROM dmri/ci-cd:e93dd885 AS base | ||
|
||
# Labels | ||
LABEL maintainer="Siddhartha Dhiman ([email protected])" | ||
|
@@ -21,13 +21,13 @@ LABEL org.label-schema.vendor="MUSC BRIDGE" | |
FROM base as dependencies | ||
WORKDIR /src | ||
COPY requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
RUN uv pip install -r requirements.txt | ||
|
||
FROM dependencies as development | ||
COPY requirements-dev.txt ./ | ||
RUN pip install --no-cache-dir -r requirements-dev.txt | ||
RUN uv pip install -rrequirements-dev.txt | ||
COPY . . | ||
RUN pip install --no-cache-dir --no-deps --editable . | ||
RUN uv pip install --no-deps -e. | ||
|
||
FROM dependencies as pyc | ||
COPY . . | ||
|
@@ -36,7 +36,7 @@ RUN find . -name "*.py" -not -name "__init__.py" -delete | |
|
||
FROM pyc as production | ||
COPY --from=pyc /src . | ||
RUN pip install --no-cache-dir --no-deps --editable . | ||
RUN uv pip install --no-deps -e. | ||
|
||
RUN useradd -ms /bin/bash bridge | ||
USER bridge |