use daemonize and attach to foreground
This commit is contained in:
@ -11,11 +11,11 @@ RUN cd Cbc-2.9.8 && \
|
||||
make install
|
||||
RUN python -m pip install pydantic
|
||||
RUN python -m pip install pySqsListener
|
||||
RUN python -m pip install daemonize
|
||||
|
||||
# Bundle app source
|
||||
COPY . /app
|
||||
|
||||
WORKDIR /app/app
|
||||
|
||||
# CMD [ "python", "main.py" ]
|
||||
CMD tail -f /dev/null
|
||||
CMD [ "python", "main.py" ]
|
||||
|
Reference in New Issue
Block a user