Use `CMD` instead of `entrypoint`
This commit is contained in:
parent
75f37f5b0e
commit
7a3a1fa761
|
@ -35,4 +35,4 @@ RUN pip3 install -r requirements.txt
|
|||
# Install wait-for-it so this can easily be used with docker-compose
|
||||
# Example: command: ["./wait-for-it.sh", "bridge:8554", "--", "python", "main.py"]
|
||||
RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod +x wait-for-it.sh && mv wait-for-it.sh /usr/local/bin
|
||||
ENTRYPOINT ["python", "main.py"]
|
||||
CMD ["python", "main.py"]
|
Loading…
Reference in New Issue