16 lines
331 B
Docker
16 lines
331 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirement.txt .
|
|
RUN pip install --no-cache-dir -r requirement.txt
|
|
|
|
COPY frontend/ ./frontend/
|
|
COPY app/ ./app/
|
|
|
|
ENV PYTHONPATH=/app
|
|
|
|
EXPOSE 8501
|
|
|
|
CMD ["streamlit", "run", "frontend/frontend_main.py", "--server.port", "8501", "--server.address", "0.0.0.0", "--server.baseUrlPath", "/ai"]
|