Skip to content

Commit

Permalink
Fixed Ctrl+C not working to shutdown the container when ran via docke…
Browse files Browse the repository at this point in the history
…r run
  • Loading branch information
liamjones committed Feb 11, 2017
1 parent 7985098 commit b1a3dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ RUN git checkout $PAINTSCHAINER_COMMIT && \

EXPOSE 8000

ENTRYPOINT [ "/tini", "--" ]
ENTRYPOINT [ "/tini", "-g", "--" ]

CMD [ "sh", "-c", "cron && python -u server.py --host 0.0.0.0 --gpu $PAINTSCHAINER_GPU"]

0 comments on commit b1a3dac

Please sign in to comment.