From abef170bfb2c1b3c8a8313558c12b82e93f978c0 Mon Sep 17 00:00:00 2001 From: Justyna Gruba Date: Tue, 4 Mar 2025 13:15:43 +0100 Subject: [PATCH] dockerfile added. --- dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..73a0d2c --- /dev/null +++ b/dockerfile @@ -0,0 +1,15 @@ +FROM python:3.12-slim-bookworm + +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ + +COPY . /app + +#install the app dependencies (??) +WORKDIR /app + + +RUN uv sync --frozen --no-cache + + +# Uruchamiamy aplikacjÄ™ +CMD ["uv", "run", "manage.py", "runserver", "localhost:8000"]