mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
chore(gitpod): simplify config
This commit is contained in:
13
.gitpod.yml
13
.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
|
||||
|
Reference in New Issue
Block a user