Created
February 21, 2015 13:45
-
-
Save ndarilek/ed78d945263687b7fe99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y python-dev python-pip libffi-dev libssl-dev libjpeg-dev && \ | |
apt-get clean && \ | |
pip install --process-dependency-links https://github.com/matrix-org/synapse/tarball/master && \ | |
adduser --system --home /app --shell /bin/sh app | |
# USER app | |
WORKDIR /app | |
ENV HOME /app | |
EXPOSE 8008 8448 | |
ENTRYPOINT ["/usr/bin/python", "-m", "synapse.app.homeserver"] | |
CMD ["-h"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment