-
-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 608 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 608 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
FROM python:3.6
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive TERM=linux
EXPOSE 8801
RUN apt-get update && \
apt-get install -y --no-install-recommends git ca-certificates
RUN pip3 install pipenv
RUN git clone -b 2.x https://github.com/airnotifier/airnotifier.git /airnotifier
RUN mkdir -p /var/airnotifier/pemdir && \
mkdir -p /var/log/airnotifier
VOLUME ["/airnotifier", "/var/log/airnotifier", "/var/airnotifier/pemdir"]
WORKDIR /airnotifier
RUN pipenv install --deploy
ADD start.sh /airnotifier
RUN chmod a+x /airnotifier/start.sh
ENTRYPOINT /airnotifier/start.sh