Compare commits
2 commits
e9bf6b1706
...
6da948ff33
Author | SHA1 | Date | |
---|---|---|---|
6da948ff33 | |||
b132591730 |
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
# `python-base` sets up all our shared environment variables
|
# `python-base` sets up all our shared environment variables
|
||||||
FROM python:3.11-slim as python-base
|
FROM python:3.12-slim as python-base
|
||||||
|
|
||||||
# python
|
# python
|
||||||
ENV PYTHONUNBUFFERED=1 \
|
ENV PYTHONUNBUFFERED=1 \
|
||||||
|
@ -48,7 +48,7 @@ WORKDIR $PYSETUP_PATH
|
||||||
COPY poetry.lock pyproject.toml ./
|
COPY poetry.lock pyproject.toml ./
|
||||||
|
|
||||||
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
|
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
|
||||||
RUN poetry install --no-dev
|
RUN poetry install
|
||||||
|
|
||||||
# `production` image used for runtime
|
# `production` image used for runtime
|
||||||
FROM python-base as production
|
FROM python-base as production
|
||||||
|
|
Loading…
Add table
Reference in a new issue