Branch: master
Find file Copy path
f9ffa5d Jul 29, 2018
1 contributor

Users who have contributed to this file

25 lines (19 sloc) 552 Bytes
# start from base
FROM ubuntu:latest
MAINTAINER Prakhar Srivastav <>
# install system-wide deps for python and node
RUN apt-get -yqq update
RUN apt-get -yqq install python-pip python-dev curl gnupg
RUN curl -sL | bash
RUN apt-get install -yq nodejs
# copy our application code
ADD flask-app /opt/flask-app
WORKDIR /opt/flask-app
# fetch app specific deps
RUN npm install
RUN npm run build
RUN pip install -r requirements.txt
# expose port
# start app
CMD [ "python", "./" ]