titanic-fastapi / Dockerfile
Myloiose's picture
Create Dockerfile
cdb9e42 verified
raw
history blame contribute delete
194 Bytes
FROM python:3.10-slim
RUN pip install --no-cache-dir fastapi uvicorn tensorflow numpy
COPY . /app
WORKDIR /app
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]