Welcome to mirror list, hosted at ThFree Co, Russian Federation.

docker-entrypoint.sh - github.com/readthedocs/sphinx_rtd_theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b80ac12d9a1b30d35ca3ce9c11bde6ecb7739e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# Install the readonly project in editable mode and make sure
# all dependencies are upgrade. This is mounted in from the
# outside, but it is on purpose that it is readonly!
cp -r /project/node_modules /project-working-copy/
cd /project-working-copy
pip install --upgrade -e ".[dev]"

# This helps a potential permission issue, but might be removed
# pending some more investigation of docker host file system
# permissions in the bind mount
npm cache clean --force
npm install

echo "Going to invoke: npm run $@"
npm run $@