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