public-health-ch/.dockerfile
Oleg Lavrovsky 3a30d9ecef Python 3.6.3
2018-05-16 15:05:16 +02:00

14 lines
298 B
Docker

FROM python:3.6.3
RUN apt-get update && apt-get upgrade -y
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
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
ENV LANG en_US.UTF-8
ENV PYTHONIOENCODING utf_8