update ci
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
prod:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: htk-prod-builder:local
|
||||
network_mode: host
|
||||
working_dir: /source
|
||||
environment:
|
||||
- PUPPETEER_SKIP_DOWNLOAD=true
|
||||
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
volumes:
|
||||
# The whole repo (with submodules already checked out by the CI step):
|
||||
- ../../:/source
|
||||
# Persist package caches between runs to speed up rebuilds:
|
||||
- htk-npm-cache:/root/.npm
|
||||
- htk-bun-cache:/root/.bun/install/cache
|
||||
command: bash .build/prod/build.sh
|
||||
|
||||
volumes:
|
||||
htk-npm-cache:
|
||||
htk-bun-cache:
|
||||
Reference in New Issue
Block a user