feat: Rearchitect Foxy Dev Team with FastAPI, React, SQLite, and a new Telegram bot, updating deployment configurations and documentation.
This commit is contained in:
+4
-4
@@ -5,7 +5,7 @@
|
||||
# into a single production-ready image.
|
||||
#
|
||||
# Build: docker build -t foxy-dev-team .
|
||||
# Run: docker run -p 8000:8000 --env-file backend/.env foxy-dev-team
|
||||
# Run: docker run -p 7000:7000 --env-file backend/.env foxy-dev-team
|
||||
# ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
# ─── Stage 1: Frontend Build ──────────────────────────────────────────────────
|
||||
@@ -47,15 +47,15 @@ COPY --from=frontend-build /build/dist ./static
|
||||
|
||||
# Healthcheck
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD curl -f http://localhost:8000/api/health || exit 1
|
||||
CMD curl -f http://localhost:7000/api/health || exit 1
|
||||
|
||||
# Runtime config
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
LOG_LEVEL=info
|
||||
|
||||
EXPOSE 8000
|
||||
EXPOSE 7000
|
||||
|
||||
USER foxy
|
||||
|
||||
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7000"]
|
||||
|
||||
Reference in New Issue
Block a user