add Dockerfile for building the container

This commit is contained in:
2025-03-31 19:50:26 +03:00
parent 6d2533e53d
commit 99e91324bc
4 changed files with 98 additions and 0 deletions

10
daemon-files/hive-cc Normal file
View File

@@ -0,0 +1,10 @@
#!/sbin/openrc-run
command="/usr/bin/dotnet"
command_args="run --project /hiveemulator/src/CommunicationControl/DevOpsProject/DevOpsProject.CommunicationControl.API.csproj"
pidfile="/run/hive-cc.pid"
supervisor="supervise-daemon"
depend() {
need redis
}

10
daemon-files/hive-hm Normal file
View File

@@ -0,0 +1,10 @@
#!/sbin/openrc-run
command="/usr/bin/dotnet"
command_args="run --project /hiveemulator/src/CommunicationControl/DevOpsProject.HiveMind.API/DevOpsProject.HiveMind.API.csproj"
pidfile="/run/hive-hm.pid"
supervisor="supervise-daemon"
depend() {
need hive-cc
}

15
daemon-files/hive-map Normal file
View File

@@ -0,0 +1,15 @@
#!/sbin/openrc-run
command="npm"
command_args="run dev"
pidfile="/run/hive-map.pid"
supervisor="supervise-daemon"
depend() {
need hive-cc
}
start() {
cd /hiveemulator/src/MapClient/
${command} ${command_args}
}