refactor(Dockerfile): use new backup command as default
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6813428489
commit
74cb5e0264
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ RUN apt-get update --yes && \
|
|||
apt-get install --yes build-essential
|
||||
|
||||
# Build the actual binary
|
||||
RUN CGO_ENABLED=0 go build -o grafana-backuper main.go
|
||||
RUN CGO_ENABLED=0 go build -o grafana-backuper cmd/main.go
|
||||
|
||||
# -- -- -- -- -- --
|
||||
|
||||
|
@ -22,4 +22,4 @@ WORKDIR /app
|
|||
# Copy built binary from build image
|
||||
COPY --from=build /workspace/grafana-backuper /app
|
||||
|
||||
ENTRYPOINT ["/app/grafana-backuper"]
|
||||
ENTRYPOINT ["/app/grafana-backuper backup"]
|
||||
|
|
Loading…
Reference in a new issue