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

View File

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