From 752d3519b9e65cf3ae29b384aa6838dea125aa98 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Fri, 1 May 2015 00:47:48 -0700 Subject: [PATCH] Expose port for debugger and make shell usable --- Dockerfile | 3 +++ scripts/common | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1464565..2571714 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,9 +65,12 @@ COPY ./README.md /opt/phantom-talk/README.md RUN ["npm", "install"] ADD . /opt/phantom-talk +ENV TERM screen-256color + RUN ["npm", "run", "build"] EXPOSE 8000 EXPOSE 8001 +EXPOSE 8002 EXPOSE 35729 ENTRYPOINT ["npm"] CMD ["run", "deck"] diff --git a/scripts/common b/scripts/common index b1f5b77..c794947 100644 --- a/scripts/common +++ b/scripts/common @@ -1,6 +1,6 @@ # vi: ft=sh -export port_args='--publish 8000:8000 --publish 8001:8001 --publish 35729:35729' +export port_args='--publish 8000:8000 --publish 8001:8001 --publish 8002:8002 --publish 35729:35729' function abspath { python -c 'import sys, os; print(os.path.abspath(sys.argv[1]))' "$1"