From 0ed9acd40536d9d0d80b7709c7d20b02c2f4ce41 Mon Sep 17 00:00:00 2001 From: rmanach Date: Tue, 19 Sep 2023 07:07:27 +0200 Subject: [PATCH] add Makefile dev installation --- Dockerfile | 1 + Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 528e464..222e5a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN apt update && apt install -y COPY startup.sh /app/ COPY requirements.txt /app/ +RUN pip install -U pip RUN pip install -r requirements.txt ENTRYPOINT [ "/app/startup.sh" ] diff --git a/Makefile b/Makefile index 8cd4d01..24ea38c 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,12 @@ lint: ruff deployment/*.py ruff mumui/*.py +dev: + rm -rf venv + python3 -m virtualenv venv + ./venv/bin/pip install -r requirements.txt + ./venv/bin/pip install -r requirements-dev.txt + django: docker build . -t mumui:local