This commit is contained in:
Gal 2023-12-26 14:22:56 +01:00 committed by Galuh Sahid
parent 5d78628ab0
commit 7beed09824
1 changed files with 7 additions and 4 deletions

View File

@ -1,9 +1,12 @@
version: '3' version: '3'
services: services:
web: quartz:
build: . image: node:20-slim
working_dir: /usr/src/app
volumes:
- ./:/usr/src/app # Assuming your Quartz files are in a directory named 'quartz'
ports: ports:
- "100.104.163.2:3000:3000" - "100.104.163.2:3000:3000"
volumes: - "3000:3000"
- .:/usr/src/app command: ["npx", "quartz", "build", "--serve", "--port", "3000"]