Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #423 from joelash/docker-rasp-pi
Browse files Browse the repository at this point in the history
adding a Raspberry Pi specific Dockerfile
  • Loading branch information
mcollina committed Feb 27, 2016
2 parents 40e67a2 + 8932d46 commit 7b67bd7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile-rpi
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Mosca
#
# VERSION 0.2.1

FROM hypriot/rpi-node:4
MAINTAINER Matteo Collina <[email protected]>

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app/

COPY ./ /usr/src/app/

RUN apt-get update && \
apt-get install make gcc g++ python git && \
npm install --unsafe-perm --production && \
apt-get remove make gcc g++ python git

EXPOSE 80
EXPOSE 1883

ENTRYPOINT ["/usr/src/app/bin/mosca", "-d", "/db", "--http-port", "80", "--http-bundle", "-v"]

0 comments on commit 7b67bd7

Please sign in to comment.