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

# 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