Skip to content

Commit

Permalink
fix start-lean (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Feb 22, 2024
1 parent 4634b71 commit bab537a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,28 @@
"name": "ott-common",
"version": "0.10.0",
"license": "AGPL-3.0-or-later",
"module": "es2020",
"type": "module",
"main": "ts-out/index.js",
"module": "ts-out/index.js",
"files": [
"ts-out/"
],
"exports": {
".": "./ts-out/index.js",
"./constants": "./ts-out/constants.js",
"./exceptions": "./ts-out/exceptions.js",
"./models/messages": "./ts-out/models/messages.js",
"./models/rest-api": "./ts-out/models/rest-api.js",
"./models/types": "./ts-out/models/types.js",
"./models/video": "./ts-out/models/video.js",
"./permissions": "./ts-out/permissions.js",
"./queueexport": "./ts-out/queueexport.js",
"./result": "./ts-out/result.js",
"./serialize": "./ts-out/serialize.js",
"./timestamp": "./ts-out/timestamp.js",
"./userutils": "./ts-out/userutils.js",
"./voteskip": "./ts-out/voteskip.js"
},
"scripts": {
"build": "tsc",
"lint": "tsc --noEmit && eslint --ext .js,.ts --fix .",
Expand Down
2 changes: 1 addition & 1 deletion deploy/monolith.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ COPY deploy/$DEPLOY_TARGET.toml /usr/app/env/production.toml
HEALTHCHECK --interval=30s --timeout=3s CMD ( curl -f http://localhost:8080/api/status || exit 1 )

# Start Server
CMD ["yarn", "workspace", "ott-server", "run", "start"]
CMD ["yarn", "workspace", "ott-server", "run", "start-lean"]

0 comments on commit bab537a

Please sign in to comment.