use shebang
This commit is contained in:
parent
b2c319d4ec
commit
6bae62ddb6
@ -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
|
||||
|
@ -7,4 +7,4 @@ COPY keepalive.sh .
|
||||
|
||||
RUN chmod +x keepalive.sh
|
||||
|
||||
CMD /app/keepalive.sh
|
||||
CMD ./keepalive.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user