Skip to content

Commit

Permalink
Bump container base image to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Jun 18, 2024
1 parent bc1926f commit 65f382d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ WORKDIR /code
COPY web-frontend .
RUN npm install && npm run build

# We cannot upgrade to Python 3.11 until numba supports it.
# The `sparse` library relies on numba.
FROM python:3.11-slim as builder
FROM python:3.12-slim as builder

# We need git at build time in order for versioneer to work, which in turn is
# needed for the server to correctly report the library_version in the /api/v1/
Expand Down Expand Up @@ -40,7 +38,7 @@ RUN TILED_BUILD_SKIP_UI=1 pip install '.[server]'
# RUN pip install '.[client,dev]'
# RUN pytest -v

FROM python:3.11-slim as runner
FROM python:3.12-slim as runner

ENV VIRTUAL_ENV=/opt/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
Expand Down

0 comments on commit 65f382d

Please sign in to comment.