add docker
This commit is contained in:
15
frontend/Dockerfile
Normal file
15
frontend/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user