FlutIQ / Dockerfile
kredd25's picture
deploy: bundle frontend into FastAPI for single-Space deploy
3a82336
raw
history blame contribute delete
233 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
COPY static/ ./static/
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]