From cc874b8fb5d28313c53f1afc10d5c9c8b0ddd659 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: 9c9165aed611b917fb0b3f1939f6cba450092fde --- 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