Files
thePlug/Dockerfile
T

23 lines
469 B
Docker

FROM python:3.14-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY pyproject.toml ./
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir \
"authlib>=1.6.0" \
"fastapi[standard]>=0.135.3" \
"motor>=3.7.1" \
"passlib[bcrypt]>=1.7.4" \
"pydantic-settings>=2.13.1" \
"redis>=7.4.0"
COPY app ./src
EXPOSE 3671
CMD ["fastapi", "run", "src/main.py", "--host", "0.0.0.0", "--port", "3671"]