plus rapide
This commit is contained in:
@ -17,12 +17,12 @@ RUN pip3 install --no-cache-dir \
|
|||||||
|
|
||||||
# 2. Installer le reste depuis le dépôt Python standard (PyPI)
|
# 2. Installer le reste depuis le dépôt Python standard (PyPI)
|
||||||
RUN pip3 install --no-cache-dir \
|
RUN pip3 install --no-cache-dir \
|
||||||
fastapi uvicorn gradio
|
fastapi uvicorn gradio faster-whisper
|
||||||
|
|
||||||
# Copie du code serveur
|
# Copie du code serveur
|
||||||
COPY server.py .
|
COPY server.py .
|
||||||
|
|
||||||
# Exposition du port pour la communication interne
|
# Exposition du port pour la communication interne
|
||||||
EXPOSE 7860
|
EXPOSE 7860
|
||||||
|
|
||||||
CMD ["python3.11", "server.py"]
|
CMD ["python3.11", "server.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user