use shebang

This commit is contained in:
Shihaam Abdul Rahman 2024-10-19 03:00:53 +05:00
parent b2c319d4ec
commit 6bae62ddb6
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
FROM python:3.9.20-slim-bookworm
RUN pip install python-dotenv flask
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
CMD python /app/api.py
CMD ./api.py

View File

@ -7,4 +7,4 @@ COPY keepalive.sh .
RUN chmod +x keepalive.sh
CMD /app/keepalive.sh
CMD ./keepalive.sh