commit d1bc0b65dc9852b7926e67aa9af321a4babef2b0 parent cf61ee5bb4aa21a71fcd72a8097df92a2754fdfa Author: FIGBERT <figbert@figbert.com> Date: Tue, 22 Sep 2020 00:07:35 -0700 :whale: Change base image to node:alpine Diffstat:
M | Dockerfile | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -1,10 +1,9 @@ -FROM alpine as builder +FROM node:alpine as builder WORKDIR /home/site COPY . . -RUN apk --no-cache add npm \ - && npm install --production \ +RUN npm install --production \ && npm run build FROM nginx:alpine