18 lines
401 B
Docker
18 lines
401 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends curl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY pyproject.toml requirements.txt ./
|
|
COPY minimateplus ./minimateplus
|
|
COPY sfm ./sfm
|
|
COPY bridges ./bridges
|
|
|
|
RUN pip install --no-cache-dir -e .
|
|
|
|
EXPOSE 8200
|
|
|
|
CMD ["python", "-m", "uvicorn", "sfm.server:app", "--host", "0.0.0.0", "--port", "8200"] |