-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.dev
29 lines (22 loc) · 1.28 KB
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3.9.2-buster
# https://wiki.debian.org/SourcesList
RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian buster main contrib non-free" >> /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list
# https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=festlex
# https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=festival
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
festival \
festlex-oald \
festlex-cmu \
festlex-poslex \
espeak-ng && \
apt-get clean
WORKDIR /app
COPY Pipfile Pipfile.lock ./
RUN pip install --no-cache-dir --upgrade pip pipenv
RUN pipenv install --system --deploy --dev --ignore-pipfile
RUN rm Pipfile Pipfile.lock