mirror of
https://github.com/etienne-hd/lbc-finder.git
synced 2026-04-29 20:35:35 +02:00
refactor(docker): requirements.txt to config/requirements.txt to prevent from creating another volume
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
if [ -e requirements.txt ]
|
||||
if [ -e config/requirements.txt ]
|
||||
then
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
pip install --no-cache-dir -r config/requirements.txt
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user