aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
blob: 22e632838c54085c5c6dba44757af82e90b5d954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.6

# Set the locale of the container
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
    dpkg-reconfigure --frontend=noninteractive locales && \
    update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8 
ENV LANGUAGE en_US:en  
ENV LC_ALL en_US.UTF-8

# Install Dependancies
COPY requirements.txt /opt/requirements.txt
RUN pip3 install -r /opt/requirements.txt

# The code is stored here
WORKDIR /usr/src/app