1
0
mirror of https://github.com/tiyn/beaker-blog.git synced 2025-10-10 09:51:17 +02:00

added tts functionality

This commit is contained in:
2024-04-22 02:06:12 +02:00
parent 9ea9ab3c53
commit 6e844a3cb1
7 changed files with 73 additions and 8 deletions

View File

@@ -2,11 +2,9 @@ FROM python:3
MAINTAINER tiyn tiyn@mail-mk.eu
COPY src /blog
WORKDIR /blog
RUN pip3 install -r requirements.txt
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN apt-get update && \
apt-get install -y locales && \
@@ -14,9 +12,13 @@ RUN apt-get update && \
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN apt-get install -y espeak
COPY src /blog
WORKDIR /blog
RUN pip3 install -r requirements.txt
VOLUME /blog/templates/entry