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
|
||||
COPY main.go /guestbook/
|
||||
COPY go.mod /guestbook/
|
||||
COPY go.sum /guestbook/
|
||||
RUN cd /guestbook && go build
|
||||
|
||||
FROM docker.io/ubuntu:latest
|
||||
|
||||
COPY --from=builder /guestbook/guestbook /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