mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:03:12 +00:00
21 lines
No EOL
521 B
Docker
21 lines
No EOL
521 B
Docker
FROM python:3.12
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN apt-get update mariadb-client && \
|
|
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 pyproject.toml poetry.lock ./
|
|
RUN pip install poetry && \
|
|
poetry config virtualenvs.create false && \
|
|
poetry install --no-interaction --no-ansi
|
|
|
|
COPY . .
|
|
|
|
ENV LANG en_US.UTF-8
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
CMD [ "poetry", "run", "python", "./Luminara.py" ] |