aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 977c118..fda1d32 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ RUN apk update --no-cache && apk add --no-cache tzdata
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY . .
-RUN go build -o shorg ./cmd/app
+RUN go build -o shorg ./cmd/shorg
# Runtime container
FROM alpine:3.20
@@ -20,4 +20,4 @@ ENV TZ=Europe/Moscow
EXPOSE 8000
-CMD ["/app/shorg"] \ No newline at end of file
+ENTRYPOINT ["/app/shorg"] \ No newline at end of file