mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated dockerfile and git workflow
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:1 AS backend-build
|
||||
FROM golang:1.15 AS backend-build
|
||||
|
||||
WORKDIR /go/src/app
|
||||
COPY ./backend .
|
||||
@@ -18,7 +18,7 @@ WORKDIR /app
|
||||
#RUN npm config set unsafe-perm true
|
||||
#RUN npm install -g yarn && yarn install
|
||||
|
||||
RUN yarn install && yarn run build:prod
|
||||
RUN yarn install && yarn run build
|
||||
|
||||
# images
|
||||
FROM ubuntu:latest
|
||||
@@ -38,7 +38,7 @@ RUN chmod 777 /tmp \
|
||||
|
||||
|
||||
# install backend
|
||||
RUN pip install scrapy pymongo bs4 requests crawlab-sdk scrapy-splash
|
||||
RUN pip install scrapy pymongo bs4 requests crawlab-sdk
|
||||
|
||||
# add files
|
||||
COPY ./backend/conf /app/backend/conf
|
||||
|
||||
Reference in New Issue
Block a user