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
Michel Roux 48f92cc55e
All checks were successful
continuous-integration/drone/push Build is passing
Fix build
2020-04-09 21:06:22 +02:00

14 lines
417 B
Docker

FROM python:slim
ENV DEBIAN_FRONTEND noninteractive
ENV LANG C.UTF-8
COPY pynyaata /app/pynyaata
COPY requirements.txt /app
COPY *.py /app/
WORKDIR /app
RUN apt-get update && apt-get -y upgrade && apt-get -y install locales && \
printf "en_US.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\n" > /etc/locale.gen && \
locale-gen && rm -rf /var/lib/apt/lists/* && \
pip install -r requirements.txt
CMD ["python", "run.py"]