implement server mvp: fastapi app, org formatter, sqlite store, tests, dockerfile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
17
server/Dockerfile
Normal file
17
server/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir fastapi "uvicorn[standard]" pydantic
|
||||
|
||||
COPY app/ app/
|
||||
|
||||
ENV PHONE_CAPTURE_HOST=0.0.0.0
|
||||
ENV PHONE_CAPTURE_PORT=8765
|
||||
ENV PHONE_CAPTURE_ORG_PATH=/data/synq.org
|
||||
ENV PHONE_CAPTURE_DB_PATH=/data/capture.sqlite3
|
||||
|
||||
EXPOSE 8765
|
||||
|
||||
CMD ["python", "-m", "app.main"]
|
||||
Reference in New Issue
Block a user