The server implements a partial pre-caching strategy; core NLP assets and the emotion model are pre-loaded during the Docker build stage. Additional task-specific weights (e.g., RetinaFace for detection, gender analysis) are fetched on-demand to maintain an optimal balance between CI/CD build time and final image size.
To ensure the initial deployment remains lightweight, the server utilizes a hybrid loading approach. While primary dependencies are pre-installed, certain high-precision ML models are initialized upon the first request. Please note that this may cause a one-time 'cold-start' delay during the very first analysis task.
To pull and run the image:
$ docker pull komodgn/meta-ml:latest
$ docker run -d -p 8080:8080 \
--env-file .env \
-v "/path/to/your/google-key.json:/app/key.json" \
--name meta-ml \
komodgn/meta-ml:latest
Check the logs:
$ docker logs -f meta-ml
# Health Check Endpoint
GET http://localhost:8080/ping
Before running the container, create a .env file with the following configurations:
WEB_SERVER_URL=
GOOGLE_VISION_API_KEY=
GOOGLE_APPLICATION_CREDENTIALS=
GOOGLE_CLOUD_QUOTA_PROJECT=
PAPAGO_API_KEY_ID=
PAPAGO_API_KEY=
WEB_SERVER_URL: URL of the Meta-Web server (e.g. http://host.docker.internal:8081)GOOGLE_VISION_API_KEY: Your Google Cloud Vision API KeyGOOGLE_APPLICATION_CREDENTIALS: Path to your Google Cloud Service Account JSON key (e.g. /app/key.json)GOOGLE_CLOUD_QUOTA_PROJECT: Your Google Cloud Project ID for quota managementPAPAGO_API_KEY_ID: Naver Cloud Papago API Client IDPAPAGO_API_KEY: Naver Cloud Papago API Client SecretBackend (FastAPI): backend
Client (Android): application
Content type
Image
Digest
sha256:550bd0f4a…
Size
1.3 GB
Last updated
7 months ago
docker pull komodgn/meta-ml