-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile.debian
30 lines (22 loc) · 923 Bytes
/
Dockerfile.debian
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This is an example docker file on how to install the package successfully
# You can either build a custom image using this file or inject the
# dependancies using the following one line command on a running instance:
# To start you need to buold the official debian docker image found on teh official repo:
# https://github.com/node-red/node-red-docker/blob/master/docker-custom/Dockerfile.debian
# Pull the latest
FROM testing:node-red-build
# Change the user to root to install packages
USER root
# Install required alpine packages
RUN apt-get install -y python \
g++ \
build-essential \
libcairo2-dev \
libjpeg-dev
# Optionally if your architecture supports it
# RUN npm install @tensorflow/[email protected] \
# @tensorflow/[email protected] \
# Finally install the face recognition package
RUN npm install node-red-contrib-face-recognition
# Change the user back to node-red
USER node-red