introduce first draft of Dockerfile
This commit is contained in:
parent
63be1801bf
commit
8070364c35
1 changed files with 24 additions and 0 deletions
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
FROM debian:stable-slim
|
||||||
|
LABEL \
|
||||||
|
maintainer="Davide Alberani <da@erlug.linux.it>" \
|
||||||
|
vendor="RaspiBO"
|
||||||
|
|
||||||
|
EXPOSE 5242
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get -y install \
|
||||||
|
python3-cups \
|
||||||
|
python3-dateutil \
|
||||||
|
python3-pip \
|
||||||
|
python3-pymongo \
|
||||||
|
python3-tornado && \
|
||||||
|
pip3 install eventbrite && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN mkdir -p /opt/eventman/
|
||||||
|
COPY . /opt/eventman/
|
||||||
|
|
||||||
|
WORKDIR /opt/eventman/
|
||||||
|
ENTRYPOINT ["./eventman_server.py"]
|
||||||
|
CMD ["--debug"]
|
Loading…
Reference in a new issue