Skip to content

Commit 4ee96ae

Browse files
committed
fix: remove build step and run tsx directly
1 parent f6b5643 commit 4ee96ae

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@ COPY . .
1313
EXPOSE 4000
1414
ENV PORT=4000
1515

16-
# Install only production dependencies
17-
# Build the TypeScript application
18-
RUN npm run build
1916
# Start the Node.js application in prod mode
2017
CMD ["npm", "start"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.2-rc.1",
44
"scripts": {
55
"build": "tsc",
6-
"start": "node dist/index.js",
6+
"start": "node --import tsx src/index.ts",
77
"dev": "node --import tsx --watch src/index.ts"
88
},
99
"author": "Christian Landgren, Moritz Zingg et al.",

0 commit comments

Comments
 (0)