Update fetchname.sh to docker
This commit is contained in:
parent
46edfd8c94
commit
aa1d8e7dcf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user