diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |