From 1ec64432ae284cbef77971c0fbc883922f3588a2 Mon Sep 17 00:00:00 2001 From: nivekuil Date: Tue, 27 Apr 2021 17:51:21 -0700 Subject: [PATCH] Fix dockerfile, pinning node version --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ecdfae..bd01a92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM node:alpine AS builder +FROM node:15.0-alpine3.12 AS builder WORKDIR /opt/mx-puppet-slack -RUN apk --no-cache add git python make g++ pkgconfig \ +RUN apk --no-cache add git python2 make g++ pkgconfig \ build-base \ cairo-dev \ jpeg-dev \ @@ -27,7 +27,7 @@ COPY --chown=node:node src/ ./src/ RUN npm run build -FROM node:alpine +FROM node:15.0-alpine3.12 VOLUME /data