workspace: remove dev dockerfile

This commit is contained in:
undefined committed 2022-08-28 14:01:21 +08:00
1 parent cd3f05d4d1
commit 55266888d4
4 files changed
+11 -16

No files matched your search

+8 -5
View File
@@ -1,14 +1,17 @@
image:
file: .gitpod.Dockerfile
image: gitpod/workspace-mongodb
tasks:
- command: mongod --dbpath /home/gitpod/db
- init: |
mkdir -p /home/gitpod/.hydro
echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >/home/gitpod/.hydro/config.json && \
yarn
pm2 start mongod
yarn build:ui
yarn build:ui:production
npx hydrooj cli system set server.port 2333
npx hydrooj cli user create root@hydro.local root rootroot 2
npx hydrooj cli user setSuperAdmin 2
yarn debug
command: yarn debug
env:
DEFAULT_STORE_PATH: /home/gitpod/file
vscode:
extensions:
- dbaeumer.vscode-eslint