diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-09-05 22:58:22 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-09-05 22:58:22 -0400 |
commit | 0b7ca8d908155b3bd70238958aa8f083a675c212 (patch) | |
tree | 9aac8ad650a0f2880e1e27d4343bee7bb7d47944 | |
parent | 3868178675e0382a736e94ee6159be975ef81902 (diff) | |
download | donetick-0b7ca8d908155b3bd70238958aa8f083a675c212.tar.gz donetick-0b7ca8d908155b3bd70238958aa8f083a675c212.tar.bz2 donetick-0b7ca8d908155b3bd70238958aa8f083a675c212.zip |
Update Dockerfile to copy files from root directory and fix CMD command
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,8 +6,8 @@ WORKDIR /usr/src/app COPY go.mod go.sum ./ RUN go mod download && go mod verify -COPY . . +COPY . / 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 +CMD ["/donetick"]
\ No newline at end of file |