16 lines
374 B
Docker
16 lines
374 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1
|
|
|
|
COPY requirements-frontend.txt /app/requirements-frontend.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements-frontend.txt
|
|
|
|
COPY frontend/ /app/frontend/
|
|
|
|
EXPOSE 8501
|
|
|
|
CMD ["python", "-m", "streamlit", "run", "frontend/ui.py", "--server.address=0.0.0.0", "--server.port=8501"]
|