aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-09-05 22:42:25 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-09-06 01:13:29 -0400
commite0ad791e3f81b5a897a82a75be1ac6113ff0cf75 (patch)
tree15e4355776784cea83ebb2c7b10535967565b73b /Dockerfile
parent99ae58347de20891bb9463aa197be83f2334355c (diff)
downloaddonetick-e0ad791e3f81b5a897a82a75be1ac6113ff0cf75.tar.gz
donetick-e0ad791e3f81b5a897a82a75be1ac6113ff0cf75.tar.bz2
donetick-e0ad791e3f81b5a897a82a75be1ac6113ff0cf75.zip
Update Docker image names and build process to align with project requirements and conventions.
Diffstat (limited to '')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
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