aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-07 01:06:55 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-07 01:18:35 +0300
commit420e049415c8ec7f7a209a03110eecbe0c83e9e0 (patch)
treee93f7faf8c9704daa24c2653ca50b4f222fa2305 /Dockerfile
parent0617918eb941c401b687d4a0dbc2a54c19e06fd1 (diff)
Мелкие правки
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