Don't require python2 to build anymore
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-09-14 16:10:43 +02:00
parent c2f2910a83
commit eba980d17e
2 changed files with 3 additions and 7 deletions

View File

@ -9,10 +9,9 @@ platform:
steps:
- name: build front
image: node:18-alpine3.15
image: node:18-alpine
commands:
- mkdir deploy
- apk --no-cache add python2 build-base
- cd ui
- npm install --network-timeout=100000
- npm run build
@ -60,10 +59,9 @@ platform:
steps:
- name: build front
image: node:18-alpine3.15
image: node:18-alpine
commands:
- mkdir deploy
- apk --no-cache add python2 build-base
- cd ui
- npm install --network-timeout=100000
- npm run build

View File

@ -1,9 +1,7 @@
FROM node:18-alpine3.15 as nodebuild
FROM node:18-alpine as nodebuild
WORKDIR /ui
RUN apk --no-cache add python2 build-base
COPY ui/ .
RUN npm install --network-timeout=100000 && \