diff --git a/package.json b/package.json index 9c5b434ffc..9e1369c918 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "private": true, "scripts": { "docusaurus": "docusaurus", - "start": "docusaurus start", + "start": "docusaurus start --host 0.0.0.0", "build": "docusaurus build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "deploy-gh-pages": "gh-pages -d build", "clear": "docusaurus clear", - "serve": "docusaurus serve", + "serve": "docusaurus serve --host 0.0.0.0", "write-translations": "docusaurus write-translations", "write-heading-ids": "docusaurus write-heading-ids" }, diff --git a/serve.docker-compose.yml b/serve.docker-compose.yml new file mode 100644 index 0000000000..2bc53363e4 --- /dev/null +++ b/serve.docker-compose.yml @@ -0,0 +1,11 @@ +version: "3" +name: "codeharborhub" +services: + serve: + build: + context: . + target: serve + ports: + - "3000:3000" + environment: + - NODE_ENV=production \ No newline at end of file