Switch to alpine

This commit is contained in:
2021-08-05 10:06:54 -04:00
parent 13c1d811c9
commit 5df7a08232

View File

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