This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/Dockerfile

14 lines
417 B
Docker
Raw Normal View History

2020-04-09 09:26:07 +00:00
FROM python:slim
2019-11-25 21:52:22 +00:00
2019-12-13 17:58:15 +00:00
ENV DEBIAN_FRONTEND noninteractive
ENV LANG C.UTF-8
COPY pynyaata /app/pynyaata
COPY requirements.txt /app
2020-04-09 19:06:22 +00:00
COPY *.py /app/
2020-04-09 08:27:42 +00:00
WORKDIR /app
RUN apt-get update && apt-get -y upgrade && apt-get -y install locales && \
2019-12-13 18:37:14 +00:00
printf "en_US.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\n" > /etc/locale.gen && \
2020-04-09 08:27:42 +00:00
locale-gen && rm -rf /var/lib/apt/lists/* && \
pip install -r requirements.txt
CMD ["python", "run.py"]