-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (20 loc) · 797 Bytes
/
Copy pathDockerfile
File metadata and controls
27 lines (20 loc) · 797 Bytes
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
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /data
VOLUME /data
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install --no-install-recommends libsqlite3-dev sqlite3 git build-essential python-mysqldb python python-dev python-distribute python-pip postgresql-common libpq-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /opt
RUN git clone https://github.com/BigBrotherBot/big-brother-bot.git /opt/b3 && \
mv /opt/b3/b3/conf /opt/b3/b3/.conf && \
mv /opt/b3/b3/extplugins /opt/b3/b3/.extplugins && \
mv /opt/b3/b3/parsers /opt/b3/b3/.parsers && \
pip install wheel && \
pip install -r /opt/b3/requirements.txt
ADD start.sh /opt/start.sh
RUN chmod +x /opt/start.sh
ENTRYPOINT ["/opt/start.sh"]
CMD ["--help"]