File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ .gitignore
Original file line number Diff line number Diff line change
1
+ # Dockerfile for the SaltyRTC Server, based on the python:3 image.
2
+ #
3
+ # WARNING: This Dockerfile does not include TLS termination. Make sure to run
4
+ # the container behind a reverse proxy (e.g. Nginx) or make use of
5
+ # the -tc and -tk parameters to provide the certificate and key
6
+ # directly.
7
+ FROM python:3
8
+
9
+ # Install dependencies
10
+ RUN apt-get update -qqy \
11
+ && apt-get install -qqy --no-install-recommends \
12
+ libsodium18 \
13
+ && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
14
+
15
+ # Set working directory
16
+ WORKDIR /usr/src/saltyrtc-server
17
+
18
+ # Copy sources
19
+ COPY examples ./examples
20
+ COPY saltyrtc ./saltyrtc
21
+ COPY tests ./tests
22
+ COPY CHANGELOG.rst LICENSE README.rst setup.cfg setup.py ./
23
+
24
+ # Install the server
25
+ RUN pip install --no-cache-dir ".[logging, uvloop]"
26
+
27
+ # Define server as entrypoint
28
+ ENTRYPOINT ["/usr/local/bin/saltyrtc-server" ]
You can’t perform that action at this time.
0 commit comments