mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
20 lines
299 B
Docker
20 lines
299 B
Docker
FROM golang:1.22.9 AS build
|
|
|
|
WORKDIR /go/src/app
|
|
|
|
COPY ../backend ./backend
|
|
COPY ../core ./core
|
|
COPY ../db ./db
|
|
COPY ../grpc ./grpc
|
|
COPY ../trace ./trace
|
|
COPY ../vcs ./vcs
|
|
|
|
ENV GO111MODULE on
|
|
|
|
RUN go install -v ./...
|
|
|
|
FROM alpine:3.14
|
|
|
|
# copy files
|
|
COPY --from=build /go/bin/crawlab /go/bin/crawlab
|