We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6b5643 commit 4ee96aeCopy full SHA for 4ee96ae
Dockerfile
@@ -13,8 +13,5 @@ COPY . .
13
EXPOSE 4000
14
ENV PORT=4000
15
16
-# Install only production dependencies
17
-# Build the TypeScript application
18
-RUN npm run build
19
# Start the Node.js application in prod mode
20
CMD ["npm", "start"]
package.json
@@ -3,7 +3,7 @@
3
"version": "0.0.2-rc.1",
4
"scripts": {
5
"build": "tsc",
6
- "start": "node dist/index.js",
+ "start": "node --import tsx src/index.ts",
7
"dev": "node --import tsx --watch src/index.ts"
8
},
9
"author": "Christian Landgren, Moritz Zingg et al.",
0 commit comments