Docker Additions

Added Dockerfile and docker-compose.yml, also adjusted start command to listen for all IP's and on Port 3000
This commit is contained in:
Aaron Bolton
2024-10-21 20:10:08 +01:00
parent 50a501ecb1
commit 0ef30967dd
3 changed files with 53 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
"test:watch": "vitest",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"lint:fix": "npm run lint -- --fix",
"start": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings",
"start": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 3000",
"typecheck": "tsc",
"typegen": "wrangler types",
"preview": "pnpm run build && pnpm run start"