NeuroHealth / Dockerfile
Mikecode123's picture
Upload 4 files
a20703d verified
Raw
History Blame Contribute Delete
325 Bytes
FROM python:3.11-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc libgomp1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]