medelharchaoui commited on
Commit
9b619e6
·
verified ·
1 Parent(s): 8772792

Delete docker

Browse files

try to add espeak using packages.txt

Files changed (1) hide show
  1. Dockerfile +0 -27
Dockerfile DELETED
@@ -1,27 +0,0 @@
1
- FROM python:3.9-slim
2
-
3
-
4
- RUN useradd -m -u 1000 user
5
- USER user
6
- ENV HOME=/home/user \
7
- PATH=/home/user/.local/bin:$PATH
8
- WORKDIR $HOME/app
9
-
10
- COPY --chown=user . $HOME/app
11
- COPY ./requirements.txt ~/app/requirements.txt
12
-
13
- USER root
14
- RUN rm /var/lib/apt/lists/* -vf
15
- RUN apt-get clean
16
- RUN apt-get update
17
- RUN apt-get upgrade
18
- RUN apt-get install -y wget zip unzip uvicorn espeak-ng
19
- USER user
20
- COPY . .
21
- USER root
22
- RUN chmod 777 ~/app/*
23
- USER user
24
-
25
- RUN pip3 install -r requirements.txt
26
-
27
- CMD ["python", "app.py"]