Logo
Explore Help
Sign In
OpenWF/SpaceNinjaServer
17
19
Fork 22
You've already forked SpaceNinjaServer
Code Issues 31 Pull Requests 5 Actions Packages Projects Releases Activity
SpaceNinjaServer/docker-entrypoint.sh

9 lines
255 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: use build & start process for development as well (#2222) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2222 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-06-20 18:30:52 -07:00
exec npm run start -- --configPath conf/config.json
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.3 Page: 420ms Template: 23ms
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