Logo
Explore Help
Sign In
hxedcl/SpaceNinjaServer
1
0
Fork 0
You've already forked SpaceNinjaServer
forked from OpenWF/SpaceNinjaServer
Code Pull Requests Activity
SpaceNinjaServer/docker-entrypoint.sh

9 lines
239 B
Bash
Raw Normal View History

feat: create Docker image, set up Docker CI (#528)
2024-10-10 23:07:37 +03:00
#!/bin/bash
set -e
chore(docker): use file-based config & precompile code in image (#2202) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2202 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-19 04:23:10 -07:00
if [ ! -f conf/config.json ]; then
jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config.json.example > /app/conf/config.json
fi
feat: create Docker image, set up Docker CI (#528)
2024-10-10 23:07:37 +03:00
chore(docker): use file-based config & precompile code in image (#2202) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2202 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-19 04:23:10 -07:00
exec npm run start conf/config.json
Copy Permalink
Powered by Gitea Version: 1.23.3 Page: 591ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API