1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:23:12 +00:00
Lumi/Dockerfile
wlinator 3b1035d97d Switch back to Python 3.11
This is to avoid conflicts since I develop Racu on Arch Linux, which has not released Python 3.12 yet.
2024-04-11 07:36:03 -04:00

19 lines
No EOL
404 B
Docker

FROM python:3.11
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /usr/src/app
RUN apt-get update && \
apt-get install -y locales && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure locales
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
CMD [ "python", "./Racu.py" ]