FROM python:3.6 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY package.json /usr/src/app/ RUN npm install RUN npm install -g bower COPY bower.json /usr/src/app/ RUN bower install COPY requirements.txt /usr/src/app/ RUN pip install --no-cache-dir -r requirements.txt ENV PYTHONUNBUFFERED 1 ENV PYTHONDONTWRITEBYTECODE 1 ENV LANG en_US.UTF-8 ENV PYTHONIOENCODING utf_8