From 59344a8a67990c2069a9d233c1e4545c8393ecc3 Mon Sep 17 00:00:00 2001 From: Phil Date: Tue, 7 Dec 2021 16:15:19 +0100 Subject: [PATCH] Fixed prob? --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d98e701..6156c7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM golang:latest -COPY . /app +WORKDIR /go/src/git.ucode.space/goshortly -WORKDIR /app +COPY . . -RUN go mod download +RUN go get -d -v ./... -CMD ["go", "run", "."] \ No newline at end of file +CMD ["go", "run", "main.go"] \ No newline at end of file