Fast shutdown
This commit is contained in:
@@ -2,4 +2,4 @@ FROM python:latest
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
CMD ["bash","-eux","start.sh"]
|
||||
CMD ["timeout","0","bash","-eux","start.sh"]
|
||||
|
||||
@@ -3,4 +3,4 @@ COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
CMD ["python","server.py","34802","-b","0.0.0.0"]
|
||||
CMD ["timeout","0","python","server.py","34802","-b","0.0.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user