Don't initialize in container
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f2076a6cd0
commit
ec4a095425
|
@ -13,7 +13,8 @@ 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 initialize
|
||||
RUN make loadplatforms
|
||||
EXPOSE 8000
|
||||
VOLUME [ "/home/timetracker/app/src/web/db.sqlite3" ]
|
||||
USER timetracker
|
||||
CMD [ "python3", "src/web/manage.py", "runserver", "0.0.0.0:8000" ]
|
5
Makefile
5
Makefile
|
@ -2,10 +2,13 @@
|
|||
|
||||
all: css migrate
|
||||
|
||||
initialize: css migrate loadplatforms
|
||||
initialize: npm css migrate loadplatforms
|
||||
|
||||
HTMLFILES := $(shell find src/web/tracker/templates -type f)
|
||||
|
||||
npm:
|
||||
npm install
|
||||
|
||||
css: src/input.css
|
||||
npx tailwindcss -i ./src/input.css -o ./src/web/tracker/static/base.css
|
||||
|
||||
|
|
Loading…
Reference in New Issue