eventman/Dockerfile

24 lines
487 B
Text
Raw Permalink Normal View History

2017-11-26 16:07:54 +01:00
FROM debian:stable-slim
LABEL \
maintainer="Davide Alberani <da@erlug.linux.it>" \
vendor="RaspiBO"
EXPOSE 5242
2017-11-28 23:00:22 +01:00
VOLUME ["/eventman/data"]
2017-11-26 16:07:54 +01:00
RUN \
apt-get update && \
2017-11-29 22:21:15 +01:00
apt-get -y --no-install-recommends install \
2017-11-26 16:07:54 +01:00
python3-cups \
python3-dateutil \
python3-pip \
python3-pymongo \
python3-tornado && \
pip3 install eventbrite && \
rm -rf /var/lib/apt/lists/*
2017-11-28 08:51:40 +01:00
COPY . /eventman
2017-11-26 16:07:54 +01:00
2017-11-28 08:51:40 +01:00
WORKDIR /eventman/
2017-11-28 21:15:47 +01:00
ENTRYPOINT ["./eventman_server.py", "--mongo_url=mongodb://mongo", "--debug"]