Don't require python2 to build anymore
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c2f2910a83
commit
eba980d17e
@ -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
|
||||||
|
@ -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 && \
|
||||||
|
Reference in New Issue
Block a user