public-health-ch/.dockerfile

18 lines
334 B
Text
Raw Normal View History

2017-03-27 21:32:32 +00:00
FROM python:3.6
2017-03-27 15:05:55 +00:00
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
2017-03-27 21:32:32 +00:00
RUN npm install -g bower grunt-cli
RUN npm install
RUN bower install
RUN grunt
2017-03-27 15:05:55 +00:00
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
ENV LANG en_US.UTF-8
ENV PYTHONIOENCODING utf_8