Skip to content

Commit

Permalink
Add backend start script
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwreey committed Nov 20, 2023
1 parent 42fa894 commit 7ee6dd4
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ RUN corepack enable && \
WORKDIR /app
COPY --from=frontend-builder dist static

CMD ["pnpm", "start"]
CMD ["node", "dist/index.js"]
3 changes: 3 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"lint": "eslint ."
},
"dependencies": {
"@fastify/cookie": "^9.2.0",
"@fastify/session": "^10.5.0",
"@fastify/static": "^6.12.0",
"@fastify/type-provider-typebox": "^3.5.0",
"@sinclair/typebox": "^0.31.28",
"dotenv": "^16.3.1",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "simple-drive",
"version": "1.0.0",
"description": "A simple web tech based drive system",
"main": "dist/index.js",
"repository": "https://github.com/qwreey75/simple-drive",
"author": "qwreey75@gmail.com",
"license": "MIT",
Expand Down
142 changes: 134 additions & 8 deletions pnpm-lock.yaml

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

0 comments on commit 7ee6dd4

Please sign in to comment.