Skip to content

Instantly share code, notes, and snippets.

View jradesenv's full-sized avatar

Jean Robert jradesenv

  • Agibank
  • Alvorada
View GitHub Profile
# Use Node v5 as the base image.
FROM node:5
#this doesn't list any files from app folder
RUN ls
RUN rm -rf /node_modules
# Install dependencies (this gives me error 'coz it can't find package.json, wich is inside my app folder)
RUN npm install -g bower && npm install
FROM ubuntu:trusty
# Install packages
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get -yq install mysql-server
RUN apt-get install -y --force-yes curl python g++ make