|
@@ -1,9 +1,9 @@
|
|
-FROM python:2.7.18-buster
|
|
|
|
|
|
+FROM python:3.8.5-slim-buster
|
|
RUN apt-get update -y
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y gcc portaudio19-dev python-setuptools ffmpeg tk
|
|
RUN apt-get install -y gcc portaudio19-dev python-setuptools ffmpeg tk
|
|
RUN python -m pip install --upgrade pip
|
|
RUN python -m pip install --upgrade pip
|
|
RUN pip install cryptography numpy pydub matplotlib scipy tornado requests pyaudio firebase_admin psutil mutagen
|
|
RUN pip install cryptography numpy pydub matplotlib scipy tornado requests pyaudio firebase_admin psutil mutagen
|
|
ADD . /code/
|
|
ADD . /code/
|
|
WORKDIR /code/ondemand/
|
|
WORKDIR /code/ondemand/
|
|
-ENTRYPOINT [ "python", "service.py"]
|
|
|
|
|
|
+#ENTRYPOINT [ "python", "service.py"]
|
|
#RUN python setup.py install
|
|
#RUN python setup.py install
|