fix: Add go get to dockerfile
Some checks failed
Build Docker / BuildSite (push) Failing after 32s

This commit is contained in:
Nathan Woodburn 2024-06-20 20:48:52 +10:00
parent 75c2becc40
commit 7732ea1462
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -6,8 +6,9 @@ WORKDIR /app
COPY main.go ./ COPY main.go ./
COPY templates ./templates/ COPY templates ./templates/
RUN go get
RUN go build main.go RUN go build main.go
EXPOSE 3000 EXPOSE 3000
# Run # Run
CMD ["./main"] CMD ["./main"]