mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
16 lines
234 B
Docker
16 lines
234 B
Docker
FROM golang:1.22 AS build
|
|
|
|
WORKDIR /go/src/app
|
|
COPY . .
|
|
|
|
ENV GO111MODULE on
|
|
#ENV GOPROXY https://goproxy.io
|
|
|
|
RUN go mod tidy \
|
|
&& go install -v ./...
|
|
|
|
FROM alpine:3.14
|
|
|
|
# copy files
|
|
COPY --from=build /go/bin/crawlab /go/bin/crawlab
|