From 420e049415c8ec7f7a209a03110eecbe0c83e9e0 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 7 Oct 2024 01:06:55 +0300 Subject: Мелкие правки MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') 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 -- cgit v1.2.3