4c1d227eaa
Change-Id: I016b95431e374644564d441c990ac51239f273a4
19 lines
444 B
Docker
19 lines
444 B
Docker
# Usage example:
|
|
|
|
# docker build -t mixmatch .
|
|
|
|
# sudo docker run \
|
|
# --interactive --tty \
|
|
# --volume /etc/mixmatch/mixmatch.conf:/etc/mixmatch/mixmatch.conf \
|
|
# --publish 5001:5001 mixmatch
|
|
|
|
# Make sure that all localhost/127.0.0.1 references in the config are replaced
|
|
# with the IP of the idp and that it is configured correctly otherwise
|
|
|
|
FROM python:3-onbuild
|
|
|
|
RUN pip install uwsgi
|
|
|
|
EXPOSE 5001
|
|
CMD ["bash", "/usr/src/app/run_proxy.sh"]
|