We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb6e33 commit 50c50d1Copy full SHA for 50c50d1
Dockerfile
@@ -1,15 +1,16 @@
1
-FROM python:3.12
+FROM python:3.12-slim-bookworm
2
+COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
3
4
RUN apt-get update \
5
&& apt-get install -y --no-install-recommends \
6
&& rm -rf /var/lib/apt/lists/*
7
8
WORKDIR /usr/src/app
-COPY requirements.txt ./
9
-RUN pip3 install -r requirements.txt
+COPY . .
10
RUN pip3 install setuptools
11
RUN pip3 install debugpy
12
-COPY . .
+RUN pip3 install python-dateutil
13
+RUN pip3 install .[all]
14
15
RUN echo "yes" | python3 ./manage.py initial_setup
16
RUN python3 ./manage.py load_test_data
0 commit comments