live chamber: Saw-rebranded SSE frontend + Railway backend (server.py, Dockerfile)
This commit is contained in:
1 parent
39011ab623
commit
572ee87f0b
5 files changed
+370
No files matched your search
@@ -0,0 +1,14 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY server.py .
|
||||
|
||||
EXPOSE 8000
|
||||
ENV CHAMBER_DEVICE=cpu CHAMBER_DTYPE=bfloat16 CHAMBER_LAYER=18
|
||||
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "1"]
|
||||
Reference in new issue
Block a user