Skip to content

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

@fkromer

Description

@fkromer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions