Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I run livepython in a Docker container? #27

Open
fkromer opened this issue Nov 24, 2018 · 0 comments
Open

How can I run livepython in a Docker container? #27

fkromer opened this issue Nov 24, 2018 · 0 comments

Comments

@fkromer
Copy link

fkromer commented Nov 24, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant