CoolFace
Apppublic

idacy/datacenter-verification-api

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
1FROM python:3.11-slim2 3ARG DCV_BUILD_SHA=unknown4ENV PYTHONUNBUFFERED=15ENV DCV_MODEL_RUN_DIR=data/model_runs/synthetic_v1_baseline6ENV DCV_FEATURE_TABLE=data/synthetic_v1/features/window_features_all.csv7ENV DCV_BUILD_SHA=${DCV_BUILD_SHA}8 9WORKDIR /app10 11COPY src/datacenter_verification_api/requirements.txt /tmp/requirements-api.txt12RUN pip install --no-cache-dir -r /tmp/requirements-api.txt13 14COPY src ./src15COPY data/model_runs/synthetic_v1_baseline ./data/model_runs/synthetic_v1_baseline16COPY data/synthetic_v1/features/window_features_all.csv ./data/synthetic_v1/features/window_features_all.csv17RUN printf '%s\n' "${DCV_BUILD_SHA}" > /app/.dcv-build-sha18 19CMD ["sh", "-c", "uvicorn src.datacenter_verification_api.app:app --host 0.0.0.0 --port ${PORT:-7860}"]20