mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
Update Dockerfile.JS.sern
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
FROM node:latest
|
FROM node:latest
|
||||||
|
|
||||||
|
RUN npm install -g @sern/cli
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
@@ -8,4 +10,6 @@ RUN npm install
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
CMD node src/index.js
|
RUN sern build
|
||||||
|
|
||||||
|
CMD node .
|
||||||
|
|||||||
Reference in New Issue
Block a user