From cce72fe05e5a598edd4dc6c1f867cc875a08f22a Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Thu, 5 Sep 2024 22:42:25 -0400 Subject: Update Docker image names and build process to align with project requirements and conventions. --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index a48d3c1..a3a6e37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY go.mod go.sum ./ RUN go mod download && go mod verify COPY . . -RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w " -buildvcs=false -o /donetick-core - -EXPOSE 8080 -CMD ["donetick-core"] \ No newline at end of file +RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w " -buildvcs=false -o /donetick +ENV DT_ENV="selfhosted" +EXPOSE 2021 +CMD ["donetick"] \ No newline at end of file -- cgit