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

Run on a Raspberry pi #8

Open
alcalawil opened this issue Nov 21, 2018 · 0 comments
Open

Run on a Raspberry pi #8

alcalawil opened this issue Nov 21, 2018 · 0 comments

Comments

@alcalawil
Copy link

alcalawil commented Nov 21, 2018

I managed to make it work on a Raspberry pi using this Dockerfile..

FROM mohaseeb/raspberrypi3-python-opencv:3.4.1

ENV OPENCV4NODEJS_DISABLE_AUTOBUILD=1

RUN curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - && sudo apt install -y nodejs

WORKDIR /app

COPY ./package.json /app/package.json

RUN npm install -g nodemon && npm install

COPY ./src /app/src

CMD ["nodemon", "-L", "./src/server.js"]
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