Dockerfile 232 B

123456789101112131415
  1. FROM python:3.11-slim
  2. WORKDIR /app
  3. COPY requirements.txt /app/
  4. RUN pip install --no-cache-dir -r requirements.txt
  5. COPY . /app
  6. EXPOSE 8080
  7. ENV NAME embedchain
  8. CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]