Skip to content

Commit

Permalink
fix: resolved hoppscotch#2736
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Oct 4, 2022
1 parent 3c17a14 commit f8e9563
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ EXPOSE 3000

RUN mv packages/hoppscotch-app/.env.example packages/hoppscotch-app/.env

CMD ["pnpm", "run", "start", "--host", "0.0.0.0"]
RUN pnpm run generate

CMD ["pnpm", "run", "start"]
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prepare": "husky install",
"dev": "pnpm -r do-dev",
"generate": "pnpm -r do-build-prod",
"start": "pnpm -r do-prod-start",
"start": "http-server packages/hoppscotch-app/dist -p 3000",
"lint": "pnpm -r do-lint",
"typecheck": "pnpm -r do-typecheck",
"lintfix": "pnpm -r do-lintfix",
Expand All @@ -27,6 +27,7 @@
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/node": "^17.0.24"
"@types/node": "^17.0.24",
"http-server": "^14.1.1"
}
}
1 change: 0 additions & 1 deletion packages/hoppscotch-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"postinstall": "pnpm run gql-codegen",
"do-dev": "pnpm run dev",
"do-build-prod": "pnpm run build",
"do-prod-start": "pnpm run preview",
"do-lint": "pnpm run prod-lint",
"do-typecheck": "pnpm run lint",
"do-lintfix": "pnpm run lintfix"
Expand Down
136 changes: 135 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8e9563

Please sign in to comment.