mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
9 lines
386 B
Docker
9 lines
386 B
Docker
FROM gitpod/workspace-mongodb
|
|
RUN npm i pm2 -g && \
|
|
sudo apt-get update && \
|
|
sudo apt-get install clang -y && \
|
|
cargo install sonic-server --version 1.3.0 && \
|
|
mkdir -p /home/gitpod/.hydro && \
|
|
echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >/home/gitpod/.hydro/config.json && \
|
|
mkdir /data/file -p
|
|
chmod 777 /data/file |