diff --git a/Dockerfile b/Dockerfile index 3688348..2625b6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,3 @@ EXPOSE 80 # We use supervisord to keep the two processes we need going CMD supervisord -n -c /etc/supervisord.conf - -# sudo docker run -v /srv/www/greptweet.com:/srv/http/u -p 80:80 -t -i greptweet diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..555d5db --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +build: + git describe --always > www/version.txt + docker build -t greptweet . + +test: + docker run -v /srv/www/greptweet.com:/srv/http/u -p 81:80 -t -i greptweet