retold-harness 1.0.8 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile_LUXURYCode +1 -1
- package/docker_scripts/Entry.sh +5 -0
- package/package.json +1 -1
package/Dockerfile_LUXURYCode
CHANGED
package/docker_scripts/Entry.sh
CHANGED
|
@@ -14,6 +14,11 @@ export HOME=/home/coder
|
|
|
14
14
|
bash -i <(echo "npm install pm2 -g")
|
|
15
15
|
# Install the dependencies for node
|
|
16
16
|
bash -i <(echo "npm install")
|
|
17
|
+
# Rebuild native addons for the container platform (the volume mount
|
|
18
|
+
# brings in the host's node_modules which may have Mac/Windows binaries).
|
|
19
|
+
# NOTE: This overwrites the host's better-sqlite3 binary with a Linux build.
|
|
20
|
+
# After stopping Docker, run `npm rebuild better-sqlite3` on the host to restore.
|
|
21
|
+
bash -i <(echo "npm rebuild better-sqlite3")
|
|
17
22
|
# Now run the harness API within the pm2 process manager
|
|
18
23
|
bash -i <(echo "pm2 start /home/coder/retold-harness/source/Retold-Harness.js")
|
|
19
24
|
|