mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 09:26:52 +00:00
Compare commits
1 Commits
main
...
jacoobes-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
898cae0f12 |
@@ -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