fix: Update Dockerfile.TS.sern (#149)

This commit is contained in:
Jacob Nguyen
2025-01-28 18:50:44 -06:00
committed by GitHub
parent 7f4203370c
commit fca3c76016

View File

@@ -1,15 +1,15 @@
FROM node:latest
RUN npm install -g @sern/cli typescript@latest
WORKDIR /app
COPY package.json ./
RUN npm install
RUN npm install -D typescript
COPY . .
RUN tsc --build || npx -p typescript tsc --build
RUN sern build
CMD node dist/index.js