diff options
author | Giovanni Condello <nanomad@users.noreply.github.com> | 2023-06-07 22:28:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 22:28:07 +0200 |
commit | b5aa73a3a53859899538111861e33d1fb2458422 (patch) | |
tree | 56636c2446cbfef663b5172a39abe7f45c39532b /docker-compose.yml | |
parent | Removed use of openPortLineBreak/LineBreakTransformer in unlockHuaweiShell() (#228) (diff) | |
download | hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.tar hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.tar.gz hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.tar.bz2 hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.tar.lz hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.tar.xz hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.tar.zst hack-gpon.github.io-b5aa73a3a53859899538111861e33d1fb2458422.zip |
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 8d23d0d..29109e6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,25 @@ -version: "3" +version: "3.3" services: + typescript: + image: node:20 + command: sh -c "cd /mnt && npm ci && npm run build" + restart: on-failure + volumes: + - ./tsup.config.ts:/mnt/tsup.config.ts + - ./package.json:/mnt/package.json + - ./package-lock.json:/mnt/package-lock.json + - ./assets:/mnt/assets site: - command: jekyll serve --verbose --incremental --force_polling image: jekyll/jekyll:latest + command: jekyll serve --verbose --incremental --force_polling --config _config.yml,_config.docker.yml + environment: + - JEKYLL_ENV=docker volumes: - .:/srv/jekyll ports: - 4000:4000 + depends_on: + typescript: + condition: service_completed_successfully + |