mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
feat!: re-write to TypeScript
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
This commit is contained in:
11
templates/extra/Dockerfile.JS.sern
Normal file
11
templates/extra/Dockerfile.JS.sern
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN node src/index.js
|
||||
13
templates/extra/Dockerfile.TS.sern
Normal file
13
templates/extra/Dockerfile.TS.sern
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN tsc --build
|
||||
|
||||
RUN node dist/index.js
|
||||
Reference in New Issue
Block a user