make migrate in container
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
ec4a095425
commit
c03b9fe8e1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue