1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-09 08:00:04 +00:00

Pin to node:14, install python3

- node:16 is not compatible to several packages
- python package was removed from alpine

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-05-01 15:13:32 +02:00
parent bd2cb2705e
commit d9cd13abc7
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -1,4 +1,4 @@
FROM node:alpine as node_builder FROM node:14-alpine as node_builder
COPY . /src/mondash COPY . /src/mondash
WORKDIR /src/mondash/src WORKDIR /src/mondash/src
@ -6,7 +6,7 @@ WORKDIR /src/mondash/src
RUN set -ex \ RUN set -ex \
&& apk --no-cache add \ && apk --no-cache add \
build-base \ build-base \
python \ python3 \
&& npm ci \ && npm ci \
&& npm run build && npm run build