Skip to content

Commit b228630

Browse files
committed
Add assemble script for openshift build
1 parent c2b8a77 commit b228630

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.s2i/bin/assemble

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
echo "---> Installing application source ..."
4+
cp -Rf /tmp/src/. ${HOME}
5+
6+
pushd ${HOME}
7+
8+
echo "---> Installing dependencies ..."
9+
pip install -r requirements.txt
10+
11+
echo "---> Loading database ..."
12+
python -m portingdb -v --datadir=data/ load
13+
14+
popd

0 commit comments

Comments
 (0)