Merge pull request #4 from rapejim/patch-1

Added volume (and config) for server persistence
This commit is contained in:
Lukasz Raczylo 2023-11-06 10:00:47 +01:00 committed by GitHub
commit a1f34d6f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,4 +9,5 @@ RUN cd /srv/build && cmake --build . --target install
FROM alpine:latest
RUN apk add --no-cache zlib-dev openssl-dev libstdc++
COPY --from=buildBase /srv/build/telegram-bot-api /srv/telegram-bot-api
ENTRYPOINT ["/srv/telegram-bot-api"]
VOLUME /data
ENTRYPOINT ["/srv/telegram-bot-api", "--dir=/data"]