Files
nvidia-stock-bot/Dockerfile
T
Djeex 0032d29c1d
CI / build-and-scan (pull_request) Successful in 50s
chore(deps): update python docker tag to v3.14.7
2026-08-22 21:16:28 +00:00

24 lines
363 B
Docker

FROM python:3.14.7-alpine AS base
RUN apk add --no-cache ca-certificates
WORKDIR /app
COPY VERSION /VERSION
COPY /app/ /app/
RUN pip install --no-cache-dir -r requirements.txt
FROM base AS test
RUN pip install --no-cache-dir pytest==9.1.1
COPY pytest.ini /app/pytest.ini
COPY /tests/ /app/tests/
CMD ["pytest", "-v"]
FROM base
CMD ["python", "main.py"]