13 lines
319 B
Docker
13 lines
319 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY src/requirements.txt /app/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY src/ /app/
|
|
RUN find /app/plugins -name "requirements.txt" -exec sh -c 'pip install --no-cache-dir -r "{}"' \;
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["uvicorn", "backend:app", "--host", "0.0.0.0", "--port", "8000"] |