1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-12 17:26:13 +00:00

Remove COPY node_modules from Dockerfile (#425)

This commit is contained in:
Carl Reid
2020-06-21 13:45:23 +02:00
committed by GitHub
parent 35339f7328
commit 7ad0dd43e2

View File

@@ -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 .