Update Docker image names and build process to align with project requirements and conventions.
This commit is contained in:
parent
65aece2cd6
commit
cce72fe05e
2 changed files with 6 additions and 5 deletions
|
@ -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"]
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w " -buildvcs=false -o /donetick
|
||||
ENV DT_ENV="selfhosted"
|
||||
EXPOSE 2021
|
||||
CMD ["donetick"]
|
Loading…
Add table
Add a link
Reference in a new issue