dockerfile gpu

Former-commit-id: 9c9165aed6
huggingface
Kye 2 years ago
parent deafb99b23
commit cc874b8fb5

@ -25,5 +25,9 @@ RUN python3.10 -m pip install --upgrade pip && \
# Copy application files # Copy application files
COPY . . COPY . .
# Expose port
# EXPOSE ${EVAL_PORT}
# Run the application # Run the application
CMD ["python3.10", "-m", "api.main", "serve"] CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "8000"]
Loading…
Cancel
Save