https://github.com/fly-apps/litestream-base
A base Docker image for adding Litestream to apps
https://github.com/fly-apps/litestream-base
Last synced: 4 months ago
JSON representation
A base Docker image for adding Litestream to apps
- Host: GitHub
- URL: https://github.com/fly-apps/litestream-base
- Owner: fly-apps
- Created: 2022-04-02T23:52:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-02T23:57:46.000Z (over 3 years ago)
- Last Synced: 2025-01-17T18:53:30.880Z (6 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 33
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Litestream Base
Add this to an existing Dockerfile as a stage:
```Dockerfile
FROM flyio/litestream-base as litestream
```Then, add these lines to the final stage:
```Dockerfile
## near the top of your dockerfile
COPY --from=litestream /litestream /litestream# Replace your CMD with the litestream wrapper command
CMD [ "/litestream/start.sh" , ""]
```