-
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.
Showing
5 changed files
with
174 additions
and
123 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM python:3.10.10-slim@sha256:582078f93e627c71de2279d0d8e58233bc2d626db03659ade3c01d68d325ed61 | ||
FROM python:3.12.1-slim@sha256:c127a8c4aca8a5d3ac3a333cbab4c082c7ddbd0891441cc4e30d88dc351f1ce5 | ||
|
||
LABEL org.opencontainers.image.authors="Ken Shibata <[email protected]>, Kyunghan (Paul) Lee <[email protected]>" | ||
LABEL org.opencontainers.image.authors="Ken Shibata <[email protected]>, Kyunghan (Paul) Lee <[email protected]>, Jason Cameron <[email protected]>" | ||
LABEL org.opencontainers.image.source="https://github.com/wlmac/metropolis" | ||
|
||
RUN adduser --system --home /app --gecos "Metropolis" app && \ | ||
|
@@ -18,8 +18,7 @@ RUN python -m pip install --no-cache-dir poetry | |
|
||
COPY poetry.lock pyproject.toml /app/ | ||
RUN python -m poetry config virtualenvs.in-project true && \ | ||
python -m poetry install --no-root && \ | ||
/app/.venv/bin/python3 -m pip install --no-cache-dir psycopg2 | ||
python -m poetry install --no-root --without dev | ||
USER root | ||
RUN apt-get purge -y build-essential python3-dev libpq-dev libffi-dev libssl-dev && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
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
Oops, something went wrong.