livepython icon indicating copy to clipboard operation
livepython copied to clipboard

How can I run livepython in a Docker container?

Open fkromer opened this issue 7 years ago • 0 comments

I tried to run livepython in a docker image which I build (docker build -t livepython .) with the following Dockerfile.

# use base image which provides Python latest and Node 10.x
FROM nikolaik/python-nodejs:latest

# install livepython
RUN npm install livepython

# electron default port
EXPOSE 8080

# run livepython executable
ENTRYPOINT ["livepython"]
CMD ["--help"]

If I run the image (docker run -it livepython) the executable cannot be found docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"livepython\": executable file not found in $PATH": unknown. I could not find an executable in the container. Can you help out?

fkromer avatar Nov 24 '18 12:11 fkromer