Statistics
| Branch: | Tag: | Revision:

peerstreamer_docker / Dockerfile @ bd39d01c

History | View | Annotate | Download (558 Bytes)

1
# For now let's start from Ubuntu 16.04 LTS
2
FROM ubuntu:16.04
3

    
4
# Set /peerstreamer as working directory
5
WORKDIR /peerstreamer
6

    
7
# Copy required files into the container at /peerstreamer
8
ADD requirements.txt start.sh psng-pyserf.py /peerstreamer/
9

    
10
# Install required packages
11
RUN apt update && apt install -y python2.7 python-pip
12

    
13
# Install python requirements
14
RUN pip install -r requirements.txt
15

    
16
# Start services
17
# CMD["python", "psng-pyserf.py", "-t", "psngc", "-a", "127.0.0.1", "-p", \
18
#         "7373", "bg", "/tmp/channels.db"]
19
CMD ["bash", "start.sh"]