Expose port for debugger and make shell usable

master
Buddy Sandidge 10 years ago
parent c3734b88f2
commit 752d3519b9

@ -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"]

@ -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"

Loading…
Cancel
Save