mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-30 18:00:56 +01:00
9 lines
227 B
Docker
9 lines
227 B
Docker
FROM golang:buster
|
|
RUN go env -w GOPROXY=https://goproxy.io,https://goproxy.cn && \
|
|
go env -w GO111MODULE="on"
|
|
WORKDIR /tools
|
|
RUN go get github.com/cosmtrek/air
|
|
WORKDIR /backend
|
|
RUN rm -rf /tools
|
|
VOLUME /backend
|
|
EXPOSE 8080 |