1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 22:23:13 +00:00
Lumi/Dockerfile

19 lines
419 B
Docker
Raw Normal View History

2024-04-05 10:06:00 +00:00
FROM python:3.12
2023-10-23 12:49:46 +00:00
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /usr/src/app
RUN apt-get update && \
2023-10-23 16:12:23 +00:00
apt-get install -y locales mariadb-client && \
2023-10-23 12:49:46 +00:00
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", "./main.py" ]