Created
March 20, 2017 04:22
-
-
Save brancusi/a181ab634c62ff5dfb358c494d1cc823 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM resin/raspberrypi3-node | |
ENV APP_BASE /usr/src/app | |
RUN mkdir -p $APP_BASE | |
WORKDIR $APP_BASE | |
# Install image tools | |
RUN apt-get update && apt-get install -y \ | |
bluez bluez-firmware \ | |
alsa-utils libasound2-dev mpg321 \ | |
&& apt-get clean && rm -rf /var/lib/apt/lists/* | |
COPY package.json $APP_BASE/ | |
RUN DEBIAN_FRONTEND=noninteractive JOBS=MAX npm install --unsafe-perm | |
ENV INITSYSTEM on | |
COPY . $APP_BASE | |
CMD [ "node", "index.js" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment