forked from complotti/dataEconomy
Add Dockerfile
docker build -t hacker-slides:0.1 . docker run -p 8000:8080 hacker-slides:0.1
This commit is contained in:
parent
c877b47ad0
commit
97d3c9eefa
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM golang:onbuild
|
||||
|
||||
RUN mkdir -p /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD . /app
|
||||
|
||||
RUN go build ./main.go
|
||||
|
||||
CMD ["./main"]
|
Loading…
Reference in a new issue