feat: añadido primer intento de app hecha con fastapi
Build Docker Image / docker (push) Failing after 9s

This commit is contained in:
2026-04-13 15:30:41 -03:00
parent 1e9ccdeb7e
commit 19e8afb17e
5 changed files with 460 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM fedesrv.ddns.net/fede/void-musl-busybox:latest
WORKDIR /app
COPY . .
# instalar python (si la imagen lo permite)
RUN xbps-install -Sy python3 python3-pip || true
# instalar dependencias
RUN pip3 install fastapi uvicorn || true
EXPOSE 8000
CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port 8000"]