go-web-docker/Dockerfile

7 lines
135 B
Docker
Raw Normal View History

2023-07-29 21:55:08 -04:00
FROM golang:1.13
RUN go get -u github.com/johndoe/mywebserver/template/...
WORKDIR /app
COPY . .
RUN go install .
CMD ["/app/myweb"]