first pass?
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir \
|
||||
"fastapi>=0.111.0" \
|
||||
"uvicorn[standard]>=0.29.0" \
|
||||
"pydantic-settings>=2.3.0" \
|
||||
"aiosqlite>=0.20.0" \
|
||||
"httpx>=0.27.0" \
|
||||
"structlog>=25.0.0" \
|
||||
"itsdangerous>=2.2.0"
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV PYTHONPATH=/app
|
||||
ENV TZ=America/Los_Angeles
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD uvicorn backend.main:app --host 0.0.0.0 --port 8000
|
||||
Reference in New Issue
Block a user