1
0
Fork 0
editiCollaborativo/Dockerfile
Marcos Caputo 97d3c9eefa Add Dockerfile
docker build -t hacker-slides:0.1 .
docker run -p 8000:8080  hacker-slides:0.1
2017-01-29 12:24:04 -02:00

11 lines
105 B
Docker

FROM golang:onbuild
RUN mkdir -p /app
WORKDIR /app
ADD . /app
RUN go build ./main.go
CMD ["./main"]