Add fix for npm install -g failing
Some checks are pending
continuous-integration/drone/push Build is running
Some checks are pending
continuous-integration/drone/push Build is running
This commit is contained in:
parent
58453bad1d
commit
a6137c540c
@ -6,13 +6,6 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-static
|
|
||||||
image: mhart/alpine-node:latest
|
|
||||||
commands:
|
|
||||||
- npm install -g @vue/cli
|
|
||||||
- cd joker
|
|
||||||
- npm install
|
|
||||||
- npm run build
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -7,6 +7,7 @@ RUN cd /src && go get -d && go build -o joker-bin
|
|||||||
FROM node:alpine AS static-env
|
FROM node:alpine AS static-env
|
||||||
|
|
||||||
ADD . /app
|
ADD . /app
|
||||||
|
RUN npm config set unsafe-perm true
|
||||||
RUN npm install -g @vue/cli && cd /app/joker && npm install && npm run build
|
RUN npm install -g @vue/cli && cd /app/joker && npm install && npm run build
|
||||||
|
|
||||||
FROM alpine:3.7
|
FROM alpine:3.7
|
||||||
|
Loading…
Reference in New Issue
Block a user