gobuch/microservices/container/Dockerfile

7 lines
99 B
Docker
Raw Normal View History

2020-08-21 04:26:40 +00:00
FROM golang:latest
COPY main.go /app/main.go
WORKDIR /app
RUN go build main.go
CMD [ "/app/main"]