Initial commit

This commit is contained in:
2025-04-02 22:29:37 +02:00
commit c03c0ae3e5
39 changed files with 5445 additions and 0 deletions

16
api/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.13
#RUN apt update && apt install -y xfonts-base xfonts-75dpi python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0 \
# && rm -rf /var/lib/apt/lists/*
WORKDIR /app/rpk-api
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY ./rpk-api /app/rpk-api
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]