mirror of
https://github.com/sismics/docs.git
synced 2024-11-21 21:47:57 +01:00
Remove COPY node_modules from Dockerfile (#425)
This commit is contained in:
parent
35339f7328
commit
7ad0dd43e2
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user