tts-voice-creator-clone-and.../docker/Dockerfile.test
2026-10-06 11:56:42 +02:00

9 lines
441 B
Docker

# Throwaway test image: the production app image plus test-only dependencies.
# Build: docker build -f docker/Dockerfile.test -t tts-voice-creator-test:local docker
# Local only; never pushed. The app image itself is not modified.
FROM tts-voice-creator-clone-and-design-2:latest
USER root
# starlette.testclient (fastapi TestClient) needs an HTTP client package that production does not ship.
RUN pip install --no-cache-dir httpx2
USER app