There was an error while loading. Please reload this page.
1 parent b9a353e commit ef40b22Copy full SHA for ef40b22
1 file changed
Dockerfile
@@ -4,7 +4,7 @@ WORKDIR /app
4
5
# Copy server package files and install dependencies
6
COPY server/package*.json ./
7
-RUN npm install --production && npm list tsx
+RUN npm install --production
8
9
# Copy source code
10
COPY server/ ./
@@ -14,5 +14,5 @@ COPY shared/ ./shared/
14
ENV NODE_ENV=production
15
EXPOSE 5000
16
17
-# Start with explicit path to tsx
18
-CMD ["./node_modules/.bin/tsx", "index.ts"]
+# Run tsx directly - bypass npm
+CMD ["node_modules/.bin/tsx", "index.ts"]
0 commit comments