From 5df7a082327aee1e8302d467ee68240a875eff17 Mon Sep 17 00:00:00 2001 From: Ted Kulp Date: Thu, 5 Aug 2021 10:06:54 -0400 Subject: [PATCH] Switch to alpine --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f698408..812a488 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node +FROM node:alpine RUN mkdir /app RUN cd /app @@ -9,6 +9,11 @@ COPY package-lock.json package-lock.json RUN npm install +ENV PYTHONUNBUFFERED=1 +RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python +RUN python3 -m ensurepip +RUN pip3 install --no-cache --upgrade pip setuptools + COPY . . RUN npm run ng build api --configuration production