1234567891011121314151617181920212223242526272829303132333435 |
- ############################################
- # guilmour.org
- # Libreflix.org
- ############################################
- FROM debian
- MAINTAINER me@guilmour.org
- # Apt install some tools
- RUN apt-get update && apt-get install -y \
- build-essential \
- unzip \
- wget \
- curl \
- && rm -rf /var/lib/apt/lists/*
- #Getting Node
- RUN wget https://deb.nodesource.com/setup_8.x
- RUN chmod +x setup_8.x
- RUN ./setup_8.x
- RUN apt-get install -y nodejs
- RUN apt-get install -y build-essential
- # Define working directory.
- WORKDIR /libreflix
- COPY package*.json ./
- RUN npm install .
- RUN npm install express
- RUN npm install -g nodemon
- COPY . /libreflix/
- # Define default command.
- CMD ["/bin/bash"]
|