Fundamental_Analysis/docker/Dockerfile.dist
Lv, Qi 15cdfb12e0 feat: fix provider test endpoints and update deployment scripts
- Finnhub: Add missing /test endpoint
- AlphaVantage: Fix test endpoint deserialization (handle null api_url)
- Mock Provider: Add /test endpoint and fix Zodios validation error by adding Mock enum
- Deployment: Remove Mock Provider from production deployment script
- Infrastructure: Add production Dockerfiles and compose configs
2025-12-01 02:05:00 +08:00

26 lines
506 B
Docker

FROM debian:bookworm-slim
ENV TZ=Asia/Shanghai
# Install minimal runtime dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
libssl3 \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# The build context is expected to be prepared by the deployment script
# It should contain:
# - app (the binary)
# - config/ (if needed)
# - assets/ (if needed)
COPY . .
# Ensure the binary is executable
RUN chmod +x /app/app
ENTRYPOINT ["/app/app"]