update dockerfile

This commit is contained in:
2025-03-20 12:25:01 +00:00
parent b9ca04af82
commit 466fb1762e
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -20,11 +20,8 @@ RUN --mount=type=cache,target=/root/.cache \
--mount=type=ssh,required=true \
pip install --no-cache-dir .
# dependencies for running piper on gpu
RUN --mount=type=cache,target=/root/.cache pip install --no-cache-dir onnxruntime-gpu
# Expose the API port
EXPOSE 7999
# Run the translator server
CMD ["python", "-m", "auracast_translator.translator_server.translator_server"]
CMD ["python", "-m", "auracast_translator.translator_server"]
+1 -1
View File
@@ -11,7 +11,7 @@ services:
- PYTHONUNBUFFERED=1
restart: unless-stopped
deploy:
deploy: # for tts on gpu
resources:
reservations:
devices: