From c03b9fe8e1f0c92f3a937b0bdb94171a688e08e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 3 Jan 2023 12:36:44 +0100 Subject: [PATCH] make migrate in container --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d04259d..bf4dc8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN git clone https://git.kucharczyk.xyz/lukas/timetracker.git /home/timetracker WORKDIR /home/timetracker/app RUN chown -R timetracker /home/timetracker/app RUN poetry install -RUN make loadplatforms +RUN make migrate && make loadplatforms EXPOSE 8000 VOLUME [ "/home/timetracker/app/src/web/db.sqlite3" ] USER timetracker