Refactor entire project #16
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ RUN apt-get update --yes && \
|
||||||
apt-get install --yes build-essential
|
apt-get install --yes build-essential
|
||||||
|
|
||||||
# Build the actual binary
|
# 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 built binary from build image
|
||||||
COPY --from=build /workspace/grafana-backuper /app
|
COPY --from=build /workspace/grafana-backuper /app
|
||||||
|
|
||||||
ENTRYPOINT ["/app/grafana-backuper"]
|
ENTRYPOINT ["/app/grafana-backuper backup"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue