From ac31afaded21ce5b4c2a16b2a2126c3685db9824 Mon Sep 17 00:00:00 2001 From: divlo Date: Tue, 27 Apr 2021 16:10:47 +0200 Subject: [PATCH] chore(gitpod): simplify config --- .gitpod.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 75064c8..572ad93 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,21 +1,14 @@ image: 'gitpod/workspace-full' tasks: - - name: 'docker-daemon' - init: 'cp .env.example .env && npm install --global npm@7 && npm ci' - command: 'sudo docker-up' - - name: 'docker-container' - init: 'echo "Waiting for docker daemon to start" && - until docker info &> /dev/null; do sleep 1; done;' - command: 'docker-compose up' + - before: 'cp .env.example .env && npm install --global npm@7' + init: 'npm clean-install' + command: 'npm run dev' ports: - port: 3000 onOpen: 'open-preview' - - port: 1080 - onOpen: 'notify' - github: prebuilds: master: true