From 267350241beca885be783493a4d7da8ff1c57ddf Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 18 Jul 2023 16:53:42 -0400 Subject: [PATCH] dockerfile gpu Former-commit-id: 973af6ebccdab0a7c57eef36bd26d13d4f5bd692 --- infra/Docker/Dockerfile.gpu | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infra/Docker/Dockerfile.gpu b/infra/Docker/Dockerfile.gpu index 02ad6099..33e9c430 100644 --- a/infra/Docker/Dockerfile.gpu +++ b/infra/Docker/Dockerfile.gpu @@ -25,5 +25,9 @@ RUN python3.10 -m pip install --upgrade pip && \ # Copy application files COPY . . + +# Expose port +# EXPOSE ${EVAL_PORT} + # Run the application -CMD ["python3.10", "-m", "api.main", "serve"] +CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file