paradoxxxzero_butterfly/Dockerfile
2016-09-06 09:16:34 +02:00

25 lines
478 B
Docker

FROM ubuntu:14.04
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
build-essential \
libffi-dev \
libssl-dev \
python-dev \
python-setuptools \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
WORKDIR /opt
ADD . /opt/app
WORKDIR /opt/app
RUN python setup.py build \
&& python setup.py install
ADD docker/run.sh /opt/run.sh
EXPOSE 57575
CMD ["butterfly.server.py", "--unsecure", "--host=0.0.0.0"]
ENTRYPOINT ["docker/run.sh"]