aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index b56e430..f0e1660 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,11 @@
-FROM golang:1.22-alpine
+FROM docker.io/golang:1.22-alpine
WORKDIR /app
-COPY . .
-
RUN apk add git
+COPY . .
+
RUN go mod tidy && go build -o app .
ENV TOKEN=""