-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (23 loc) · 847 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM rocket357/beehive:latest
LABEL authors="Gabriel Alacchi: alacchi.g@gmail.com, Christian Muehlhaeuser: muesli@gmail.com, Jonathon Sisson: sisson.j@gmail.com"
# Uncomment to add additional scripting languages for CMD bee usage
# Added as a new layer intentionally
RUN apk update && \
apk add --no-cache \
bind-tools \
curl \
jq \
bash \
python3 \
perl \
ruby \
lua \
php # whatever else you want
# Where the admin interface will be served from
ENV CANONICAL_URL=http://localhost:8181
# Expose the application port
EXPOSE 8181
# create a volume for the configuration persistence
VOLUME /conf
# This form of ENTRYPOINT allows the beehive process to catch signals from the `docker stop` command
ENTRYPOINT /go/bin/beehive -config /conf/beehive.conf -bind 0.0.0.0:8181 -canonicalurl ${CANONICAL_URL}