mirror of
https://github.com/lukaszraczylo/tdlib-telegram-bot-api-docker.git
synced 2024-06-15 10:55:24 +03:00
Merge pull request #4 from rapejim/patch-1
Added volume (and config) for server persistence
This commit is contained in:
commit
a1f34d6f92
@ -9,4 +9,5 @@ RUN cd /srv/build && cmake --build . --target install
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add --no-cache zlib-dev openssl-dev libstdc++
|
RUN apk add --no-cache zlib-dev openssl-dev libstdc++
|
||||||
COPY --from=buildBase /srv/build/telegram-bot-api /srv/telegram-bot-api
|
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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user