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