Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
from python:2.7-onbuild
FROM alpine:3.7

expose 54321
RUN apk add --no-cache python2 py2-pip

entrypoint ["python", "relay.py"]
COPY . /relay/
RUN pip install -r /relay/requirements.txt

WORKDIR /relay

EXPOSE 54321
ENTRYPOINT ["python", "relay.py"]