mirror of
https://github.com/lukaszraczylo/tdlib-telegram-bot-api-docker.git
synced 2024-06-15 10:55:24 +03:00
Added volume (and config) for server persistence
This commit is contained in:
parent
89297d7bd1
commit
feebf4f4ed
@ -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