make migrate in container
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Lukáš Kucharczyk 2023-01-03 12:36:44 +01:00
parent ec4a095425
commit c03b9fe8e1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ RUN git clone https://git.kucharczyk.xyz/lukas/timetracker.git /home/timetracker
WORKDIR /home/timetracker/app WORKDIR /home/timetracker/app
RUN chown -R timetracker /home/timetracker/app RUN chown -R timetracker /home/timetracker/app
RUN poetry install RUN poetry install
RUN make loadplatforms RUN make migrate && make loadplatforms
EXPOSE 8000 EXPOSE 8000
VOLUME [ "/home/timetracker/app/src/web/db.sqlite3" ] VOLUME [ "/home/timetracker/app/src/web/db.sqlite3" ]
USER timetracker USER timetracker