Skip to content

Commit 50c50d1

Browse files
committed
Update container build recipe to account for packaging changes
1 parent deb6e33 commit 50c50d1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
FROM python:3.12
1+
FROM python:3.12-slim-bookworm
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23

34
RUN apt-get update \
45
&& apt-get install -y --no-install-recommends \
56
&& rm -rf /var/lib/apt/lists/*
67

78
WORKDIR /usr/src/app
8-
COPY requirements.txt ./
9-
RUN pip3 install -r requirements.txt
9+
COPY . .
1010
RUN pip3 install setuptools
1111
RUN pip3 install debugpy
12-
COPY . .
12+
RUN pip3 install python-dateutil
13+
RUN pip3 install .[all]
1314

1415
RUN echo "yes" | python3 ./manage.py initial_setup
1516
RUN python3 ./manage.py load_test_data

0 commit comments

Comments
 (0)