diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,7 +10,11 @@ RUN cargo build --release FROM alpine:3.23.2@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62 -RUN apk add --no-cache libgcc sqlite-libs +RUN apk add --no-cache libgcc sqlite-libs \ + && mkdir /config COPY --from=build /app/target/release/version-bumper /app/version-bump -CMD [ "/app/version-bump" ] +VOLUME /workdir +VOLUME /data + +CMD [ "/app/version-bump", "-i", "--config", "/config/", "--scratch", "/workdir", "/data/db.sqlite" ] |
