1 Commits

Author SHA1 Message Date
Jacob Nguyen
898cae0f12 fix: Update Dockerfile.TS.sern 2025-01-28 11:32:35 -06:00

View File

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