You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-fly/Dockerfile

9 lines
192 B

4 years ago
FROM golang:alpine
RUN mkdir /app
COPY . /app
WORKDIR /app
ENV GOPROXY https://mirrors.aliyun.com/goproxy
VOLUME ["/app/config"]
3 years ago
RUN go build go-fly.go
4 years ago
EXPOSE 8081
CMD ["/app/go-fly","server"]