mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 11:31:36 +01:00
Adjusted entrypoint.sh to place python cache directory in tmp to not messup directory structure
This commit is contained in:
parent
1f316ad284
commit
6abcf10335
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
export PYTHONPYCACHEPREFIX=/tmp
|
||||
|
||||
sh -c ". /opt/venv/bin/activate && exec python /opt/lektor/scripts/calendar-fetcher.py ${CALENDAR_URL} > /opt/lektor/project/content/termine/contents.lr"
|
||||
# TODO As the file reads from the same file as it's output is afterwards piped into this leads to synchronization/buffering issues, we therefore write to a temporaray file and move it to the right place in a subsequent step
|
||||
tempfile=$(mktemp)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue