Commit f5690e06 authored by Pawel Chojnacki's avatar Pawel Chojnacki

add while loop surrounding the application

parent 8ba8ec46
......@@ -3,4 +3,5 @@ ADD ./ /app/
WORKDIR /app
ENV PORT 5000
EXPOSE 5000
CMD ruby ./server.rb
\ No newline at end of file
CMD ["sh", "-c", "while :; do ruby ./server.rb; done"]
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment