Start adding acs workflows talk.
This commit is contained in:
18
2023-07-31-acs-workflows/guestbook/Dockerfile
Normal file
18
2023-07-31-acs-workflows/guestbook/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
FROM golang as builder
|
||||
RUN go get github.com/codegangsta/negroni
|
||||
RUN go get github.com/gorilla/mux github.com/xyproto/simpleredis
|
||||
COPY main.go .
|
||||
RUN go build main.go
|
||||
|
||||
FROM busybox:ubuntu-14.04
|
||||
|
||||
COPY --from=builder /go//main /app/guestbook
|
||||
|
||||
ADD public/index.html /app/public/index.html
|
||||
ADD public/script.js /app/public/script.js
|
||||
ADD public/style.css /app/public/style.css
|
||||
ADD public/jquery.min.js /app/public/jquery.min.js
|
||||
|
||||
WORKDIR /app
|
||||
CMD ["./guestbook"]
|
||||
EXPOSE 3000
|
||||
Reference in New Issue
Block a user