diff --git a/Dockerfile b/Dockerfile index 3b868a6..4054515 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:20-alpine WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm install COPY . . @@ -10,4 +10,4 @@ EXPOSE 3000 ENV NODE_ENV=production ENV PORT=3000 -CMD ["node", "--import", "tsx/esm", "server.ts"] +CMD ["node_modules/.bin/tsx", "server.ts"]