mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
@@ -4,6 +4,7 @@
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
中文 | [English](https://github.com/tikazyq/crawlab)
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
[中文](https://github.com/tikazyq/crawlab/blob/master/README-zh.md) | English
|
||||
|
||||
@@ -8,7 +8,15 @@ ENV GOPROXY https://mirrors.aliyun.com/goproxy/
|
||||
|
||||
RUN go install -v ./...
|
||||
|
||||
FROM node:8.16.0-alpine AS frontend-build
|
||||
FROM node:lts-alpine AS frontend-build
|
||||
|
||||
ARG NPM_DISABLE_SAFE_PERM=false
|
||||
RUN if [ ${NPM_DISABLE_SAFE_PERM} = true ]; then \
|
||||
# run the install
|
||||
echo "info: use npm unsafe-perm mode" \
|
||||
&& npm config set unsafe-perm true \
|
||||
;fi
|
||||
|
||||
|
||||
ADD ./frontend /app
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user