use LTS node version

This commit is contained in:
Alex 2022-01-26 00:20:30 +02:00 committed by GitHub
parent 1b2831871b
commit 47da14781b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
FROM node as builder
FROM node:lts-alpine as builder
WORKDIR /metube
COPY ui ./
RUN npm ci && \
NODE_OPTIONS=--openssl-legacy-provider node_modules/.bin/ng build --prod
node_modules/.bin/ng build --prod
FROM python:3.8-alpine