From 7732ea14625b6a9042ae835afc5d01f1c08167ee Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 20 Jun 2024 20:48:52 +1000 Subject: [PATCH] fix: Add go get to dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8654c7a..02e5a5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,9 @@ WORKDIR /app COPY main.go ./ COPY templates ./templates/ +RUN go get RUN go build main.go EXPOSE 3000 # Run -CMD ["./main"] \ No newline at end of file +CMD ["./main"]