Skip to content

Commit

Permalink
Upgrade Dockerfile to use python 3.11, and use uv to install for spee…
Browse files Browse the repository at this point in the history
…d. (#1658)
  • Loading branch information
valberg authored Sep 20, 2024
1 parent f1faca1 commit b30e374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-bullseye
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim

ENV PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
Expand Down Expand Up @@ -28,7 +28,7 @@ RUN apt-get update \
libgdal-dev \
wkhtmltopdf

RUN pip3 install --no-cache-dir -r /tmp/dev.txt
RUN uv pip install --system --no-cache-dir -r /tmp/dev.txt

RUN groupadd -g 1000 www
RUN useradd -u 1000 -ms /bin/bash -g www www

0 comments on commit b30e374

Please sign in to comment.