mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 01:36:18 +00:00
Remove COPY node_modules from Dockerfile (#425)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
FROM node:14.2-alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY node_modules/ ./node_modules/
|
||||
COPY main.js package-lock.json package.json ./
|
||||
RUN npm install && npm install -g pkg
|
||||
RUN pkg -t node14-alpine-x64 .
|
||||
|
||||
Reference in New Issue
Block a user