9 lines
204 B
Docker
9 lines
204 B
Docker
|
FROM golang:latest
|
||
|
ENV GOPROXY https://goproxy.cn,direct
|
||
|
WORKDIR /home/esg_report_backend
|
||
|
COPY . .
|
||
|
RUN go build -o app .
|
||
|
WORKDIR /dist
|
||
|
RUN cp /home/esg_report_backend
|
||
|
EXPOSE 9090
|
||
|
ENTRYPOINT ["/dist/app"]
|