forked from yoshi-lyosha/eLiquidInventory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (25 loc) · 743 Bytes
/
Dockerfile
File metadata and controls
32 lines (25 loc) · 743 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
FROM resin/rpi-raspbian:latest
MAINTAINER eLiquidInventory team
# Install required packages and remove the apt cache when done
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y -q \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
build-essential \
supervisor \
sqlite3 && \
pip3 install -U pip setuptools && \
rm -rf /var/lib/apt/lists/*
# install uwsgi
RUN pip3 install uwsgi
#install requirements
COPY requirements.txt /tmp/
RUN pip3 install --requirement /tmp/requirements.txt
# Custom Supervisord config
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
EXPOSE 80
COPY ./website /website
CMD ["/usr/bin/supervisord"]