public-health-ch/.dockerfile

19 lines
376 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
2017-03-27 21:46:18 +00:00
COPY package.json /usr/src/app/
2017-03-27 21:32:32 +00:00
RUN npm install
2017-03-27 21:46:18 +00:00
RUN npm install -g bower
COPY bower.json /usr/src/app/
2017-03-27 21:32:32 +00:00
RUN bower install
2017-03-27 21:46:18 +00:00
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
2017-03-27 21:32:32 +00:00
2017-03-27 15:05:55 +00:00
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
ENV LANG en_US.UTF-8
ENV PYTHONIOENCODING utf_8