mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 13:37:56 +08:00
22 lines
391 B
Docker
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
|