-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (23 loc) · 688 Bytes
/
Dockerfile
File metadata and controls
36 lines (23 loc) · 688 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
28
29
30
31
32
33
34
35
36
FROM ubuntu:18.04
LABEL maintainer="tomer.klein@gmail.com"
ENV PYTHONIOENCODING=utf-8
ENV LANG=C.UTF-8
RUN apt update -yqq
ENV CF_TOKEN ""
ENV CF_EMAIL ""
ENV CF_ACCOUNT_ID ""
ENV NOTIFIERS ""
ENV CHECK_INTERVALS "60"
RUN apt -yqq install python3-pip && \
apt -yqq install libffi-dev && \
apt -yqq install libssl-dev && \
apt -yqq install portaudio19-dev && \
apt -yqq install ffmpeg
RUN pip3 install --upgrade pip --no-cache-dir && \
pip3 install --upgrade setuptools --no-cache-dir
RUN mkdir -p /app/db
COPY requirements.txt /app
COPY app /app
WORKDIR /app
RUN pip3 install -r requirements.txt
ENTRYPOINT ["/usr/bin/python3", "/app/app.py"]