1
1
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:
divlo
2021-04-27 16:10:47 +02:00
parent bb86fb500a
commit ac31afaded

View File

@ -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