Files
mib-payment-verify/.build/prod/api.Dockerfile
Shihaam Abdul Rahman ca632749d4
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m24s
fix docker stuff
2026-02-15 14:03:02 +05:00

11 lines
325 B
Docker

FROM python:3.9.20-slim-bookworm
RUN pip install python-dotenv flask gunicorn requests
RUN apt-get update && apt-get install -y curl jq && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY api.py tx.sh fetchname.sh .
RUN chmod +x tx.sh api.py fetchname.sh
CMD gunicorn --workers 4 --bind 0.0.0.0:5000 api:app