Public Repository

Last pushed: 9 months ago
Short Description
Short description is empty for this repo.
Full Description

To pull this image:

docker pull josepainumkal/vw-regtools:1.0

#Docker-file:

FROM josepainumkal/docker-pyspark
MAINTAINER Jose Painumkal
RUN apt-get update -y
RUN apt-get install -y python-pip python-dev build-essential \
git wget curl unzip m4 openssh-client
RUN apt-get install -y libncurses5-dev
RUN apt-get update -y && apt-get install -y libpq-dev libssl-dev libffi-dev

copy source code

COPY . /regtool
WORKDIR /regtool

ENV PYTHONPATH /var/www/regtool

install requirements

#RUN echo bakkas
RUN pip install -r requirements.txt

#RUN echo '{ "allow_root": true }' > /root/.bowerrc

#RUN bower install

expose the app port

EXPOSE 5000
ENV RGTOOL_PORT 80
ENV RGTOOL_HOST 0.0.0.0
EXPOSE ${RGTOOL_PORT}

run the app server

#ENTRYPOINT ["python"]

#CMD ["manage.py","runserver","-p","${VWADAPTOR_PORT}","-h","${VWADAPTOR_HOST}"]
CMD python views.py

Docker Pull Command
Owner
josepainumkal

Comments (0)