w: add docker installation (#152)

This commit is contained in:
zhoupb12313 authored and GitHub committed 2021-06-04 21:31:00 +08:00
1 parent 715e564971
commit 7b75a961bc
7 files changed
+174

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
ROOT=/root/.config/hydro
mkdir -p $ROOT
if [ ! -f "$ROOT/judge.yaml" ]; then
cp /root/judge.yaml $ROOT
fi
pm2 start sandbox
pm2-runtime start hydrojudge