Skip to content

Commit

Permalink
Merge pull request #32 from HilkopterBob/cobra-cli-interface
Browse files Browse the repository at this point in the history
ci: update docker for cli interface
  • Loading branch information
HilkopterBob authored Aug 22, 2024
2 parents 805a30b + a9b12ea commit 6198367
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN go mod download
# Build
ARG APP_VERSION="v0.1.0+hotfixes"
RUN \
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o /app/packagelock
CGO_ENABLED=0 GOOS=linux go build -ldflags "-X 'main.AppVersion=$APP_VERSION'" -o /packagelock

# Optional:
# To bind to a TCP port, runtime parameters must be supplied to the docker command.
Expand All @@ -28,4 +28,5 @@ RUN \
EXPOSE 8080

# Run
CMD ["/app/packagelock start"]
CMD ["packagelock start"]

0 comments on commit 6198367

Please sign in to comment.