feat(cmd): add sequence
flag to execute multiple functions
This commit is contained in:
parent
30ee41171a
commit
579f2a5df7
5 changed files with 37 additions and 4 deletions
12
Dockerfile
12
Dockerfile
|
@ -20,6 +20,14 @@ FROM alpine
|
|||
WORKDIR /app
|
||||
|
||||
# Copy built binary from build image
|
||||
COPY --from=build /workspace/grafana-backuper /app
|
||||
COPY --from=build /workspace/grafana-backuper .
|
||||
|
||||
ENTRYPOINT ["/app/grafana-backuper backup --json"]
|
||||
RUN chmod +x grafana-backuper
|
||||
|
||||
# Copy the wrapper script
|
||||
COPY entrypoint.sh .
|
||||
|
||||
# Ensure the script is executable
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue