Update fetchname.sh to docker

This commit is contained in:
Shihaam Abdul Rahman 2024-10-20 02:03:02 +05:00
parent 46edfd8c94
commit aa1d8e7dcf
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -4,7 +4,7 @@ RUN pip install python-dotenv flask gunicorn
RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY api.py tx.sh .
RUN chmod +x tx.sh api.py
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