File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh && \
2323 mkdir /logs && chmod 0777 /logs && \
2424 ln -s /dev/stderr /logs/httpd.log
2525
26- CMD if [ -e etc/server ]; then rm -rf etc/server ; fi && \
27- FAASSHELL_SVC_PORT=$PORT swipl -q -l src/faasshell_svc.pl -g main -t halt
26+ # The web process must listen for HTTP traffic on $PORT, which is set by Heroku.
27+ CMD FAASSHELL_SVC_PORT=$PORT swipl -q -l src/faasshell_svc.pl -g main -t halt
Original file line number Diff line number Diff line change 11# Heroku deployment steps
22
3+ ## Initial Install
4+
35``` sh
46ubuntu@xenial:~ /faasshell/heroku[master]$ heroku login
57
@@ -16,6 +18,22 @@ ubuntu@xenial:~/faasshell/heroku[master]$ heroku container:push web --app protec
1618ubuntu@xenial:~ /faasshell/heroku[master]$ heroku container:release web --app protected-depths-49487
1719
1820ubuntu@xenial:~ /faasshell/heroku[master]$ curl https://protected-depths-49487.herokuapp.com/ -u $DEMO
21+ {" version" :" $Id rev.2018-07-08.2e2c6c4 $" }
1922
2023ubuntu@xenial:~ /faasshell/heroku[master]$ heroku logs --app protected-depths-49487 -t
2124```
25+
26+ ## Update Install
27+
28+ ``` sh
29+ ubuntu@xenial:~ /faasshell/heroku[master]$ heroku login
30+
31+ ubuntu@xenial:~ /faasshell/heroku[master]$ heroku container:login
32+
33+ ubuntu@xenial:~ /faasshell/heroku[master]$ heroku container:push web --app protected-depths-49487
34+
35+ ubuntu@xenial:~ /faasshell/heroku[master]$ heroku container:release web --app protected-depths-49487
36+
37+ ubuntu@xenial:~ /faasshell/heroku[master]$ curl https://protected-depths-49487.herokuapp.com/ -u $DEMO
38+ {" version" :" $Id rev.2018-11-16.1a84b0a $" }
39+ ```
You can’t perform that action at this time.
0 commit comments