Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ethen8181
GitHub Repository: ethen8181/machine-learning
Path: blob/master/model_deployment/fastapi_kubernetes/Dockerfile
1480 views
FROM python:3.6

EXPOSE 80

COPY ./app /app

RUN pip install -r /app/requirements.txt

# under the app folder, we have the main.py file, which contains the app object
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]