Nathan Woodburn
842f693bc7
All checks were successful
Build Docker / BuildSite (push) Successful in 2m25s
13 lines
186 B
Docker
13 lines
186 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM golang:1.19
|
|
|
|
# Set destination for COPY
|
|
WORKDIR /app
|
|
|
|
COPY main.go ./
|
|
COPY templates ./templates/
|
|
RUN go build main.go
|
|
EXPOSE 3000
|
|
|
|
# Run
|
|
CMD ["./main"] |