fix: use tsx direct runner, drop node--import loader
This commit is contained in:
parent
1c64996a78
commit
66eea4922e
1 changed files with 2 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue