Skip to content

Commit 8b71285

Browse files
committed
chore: bump python 3.10 -> 3.12
1 parent 710e9f1 commit 8b71285

File tree

4 files changed

+974
-638
lines changed

4 files changed

+974
-638
lines changed

api/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 python:3.11-slim as base
1+
FROM --platform=linux/amd64 python:3.12-slim AS base
22
WORKDIR /code
33
CMD ["/code/src/init.sh", "api"]
44
EXPOSE 5000
@@ -13,14 +13,14 @@ RUN pip install --upgrade pip && \
1313
COPY pyproject.toml pyproject.toml
1414
COPY poetry.lock poetry.lock
1515

16-
FROM base as development
16+
FROM base AS development
1717
RUN poetry install
1818
WORKDIR /code/src
1919
COPY src .
2020
USER 1000
2121

22-
FROM base as prod
23-
RUN poetry install --no-dev
22+
FROM base AS prod
23+
RUN poetry install --without dev
2424
WORKDIR /code/src
2525
COPY src .
2626
USER 1000

0 commit comments

Comments
 (0)