2018-05-16 13:05:16 +00:00
|
|
|
FROM python:3.6.3
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get upgrade -y
|
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 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
|