forked from TheSharks/WildBeast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
21 lines (15 loc) · 968 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM dougley/wildbeast-env:latest
MAINTAINER [email protected]
RUN mkdir -p /usr/src/WildBeast
WORKDIR /usr/src/WildBeast
COPY . /usr/src/WildBeast
RUN npm install
ENV BOT_ISBOT=true BOT_TOKEN=token BOT_EMAIL=email BOT_PASSWORD=password BOT_OAUTH=oauth \
DATABASE_HOST=localhost DATABASE_PORT=28015 DATABASE_PASSWORD= DATABASE_USER=admin \
SETTINGS_PREFIX=++ SETTINGS_AUTODELETEMSG=true SETTINGS_DELETE_TIMEOUT=3000 SETTINGS_DELETE_TIMEOUT_LONG=6000 SETTINGS_MAXVCSLOTS=10 \
PERMISSIONS_MASTER= PERMISSIONS_LEVEL1= PERMISSIONS_LEVEL2= PERMISSIONS_LEVEL3= \
BEZERK_USE=false BEZERK_URI=uri \
ELASTICSEARCH_USE=false ELASTIC_CLIENT='{"host": "localhost:9200"}' \
API_KEYS_IMGFLIP_USERNAME=username API_KEYS_IMGFLIP_PASSWORD=password API_KEYS_GOOGLE=google API_KEYS_TWITCH_ID=twitch API_KEYS_IMGUR=imgur API_KEYS_BUGSNAG=bugsnag API_KEYS_CLEVERBOT_USER=user API_KEYS_CLEVERBOT_KEY=key
RUN chmod 755 ./entrypoint.sh
CMD [ "./entrypoint.sh" ]