Ver código fonte

Cambio a python 3 en dockerfile

Rolando Valenzuela 4 anos atrás
pai
commit
e725668981
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -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 install -y gcc portaudio19-dev python-setuptools ffmpeg tk
 RUN python -m pip install --upgrade pip
 RUN pip install cryptography numpy pydub matplotlib scipy tornado requests pyaudio firebase_admin psutil mutagen
 ADD . /code/
 WORKDIR /code/ondemand/
-ENTRYPOINT [ "python", "service.py"]
+#ENTRYPOINT [ "python", "service.py"]
 #RUN python setup.py install