Files
django-q2/Dockerfile.dev
2026-08-01 05:11:49 +02:00

22 lines
391 B
Docker

# Sets the python version
FROM python:3.13-slim-bookworm
# Allows the logs generated by python apps to be rendered in the terminal
ENV PYTHONUNBUFFERED 1
# Sets the default shell to bash
ENV SHELL /bin/bash
RUN set -ex \
&& apt update \
&& apt-get install gcc gettext python3-dev --yes
# Install UV
RUN pip install uv==0.12.1
WORKDIR /app
COPY . .
RUN uv sync --extra testing