1
0
mirror of /repos/node-red-pi2.git synced 2025-12-30 07:31:34 +01:00
node-red-pi2/Dockerfile
2015-05-10 16:52:14 +02:00

17 lines
347 B
Docker

FROM phusion/baseimage:0.9.16
# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
COPY . /tmp
RUN NODE_VERSION=0.10.38 TIMEZONE="Europe/Amsterdam" /tmp/bootstrap
RUN su -lc /tmp/bootstrap-red red
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# How to plug it in
VOLUME /data
EXPOSE 1880