1
0
Fork 0

Add Dockerfile

docker build -t hacker-slides:0.1 .
docker run -p 8000:8080  hacker-slides:0.1
This commit is contained in:
Marcos Caputo 2017-01-29 12:24:04 -02:00 committed by GitHub
parent c877b47ad0
commit 97d3c9eefa

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM golang:onbuild
RUN mkdir -p /app
WORKDIR /app
ADD . /app
RUN go build ./main.go
CMD ["./main"]