fix: create data directories before symlinking
This commit is contained in:
parent
15a4f929c2
commit
f28e653c4e
|
|
@ -50,6 +50,7 @@ spec:
|
|||
apt-get update && apt-get install -y libgl1 libglib2.0-0 tesseract-ocr tesseract-ocr-tel
|
||||
pip install -r requirements.txt gunicorn
|
||||
# Create symlinks so app writes to PVC
|
||||
mkdir -p /data/uploads /data/output
|
||||
rm -rf /app/uploads /app/output
|
||||
ln -s /data/uploads /app/uploads
|
||||
ln -s /data/output /app/output
|
||||
|
|
|
|||
Loading…
Reference in New Issue