mirror of
https://github.com/SrIzan10/sern-cli.git
synced 2026-05-01 11:05:17 +00:00
fix: Update Dockerfile.TS.sern (#149)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user