Initial commit.

This commit is contained in:
Mikaël Capelle
2024-12-09 16:06:29 +00:00
commit cb69fea7ac
36 changed files with 4780 additions and 0 deletions

14
backend/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.12-alpine
RUN apk add git
WORKDIR /code
RUN git clone https://gitea.typename.fr/mikael.capelle/advent-of-code .
RUN pip install -e .
RUN pip install poetry
COPY . /app
WORKDIR /app
RUN poetry install
CMD ["poetry", "run", "uvicorn", "holt59.aoc.app:app", "--reload", "--proxy-headers", "--host", "0.0.0.0", "--port", "80", "--root-path", "/api/v1"]