-
Notifications
You must be signed in to change notification settings - Fork 115
/
Dockerfile
21 lines (18 loc) · 717 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Set OTOUTO_BOT_API_KEY to your telegram bot api key
# Set OTOUTO_ADMIN_ID to your telegram id
# Example: docker run -e OTOUTO_BOT_API_KEY="apikeyhere" -e OTOUTO_ADMIN_ID="idhere" jacobamason/otouto
FROM alpine:3.7
RUN apk --no-cache add --virtual build-deps \
curl gcc libc-dev pcre-dev libressl-dev && \
apk --no-cache add lua5.3 lua5.3-dev luarocks5.3 && \
luarocks-5.3 install dkjson && \
luarocks-5.3 install lpeg && \
luarocks-5.3 install lrexlib-pcre && \
luarocks-5.3 install luasec && \
luarocks-5.3 install luasocket && \
luarocks-5.3 install multipart-post && \
luarocks-5.3 install serpent && \
apk del build-deps
COPY . /otouto
WORKDIR /otouto
CMD ./launch.sh