Created
April 17, 2016 18:59
-
-
Save mujahidk/64f94446fd6afe3353bb3038e350443d to your computer and use it in GitHub Desktop.
Ubuntu based Docker container with Python Flask, nodejs and webpack.
This file contains 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
# Use the latest Ubuntu | |
FROM ubuntu:latest | |
# Author | |
MAINTAINER Mujahid Khaleel <mujahidkhaleel@gmail.com> | |
# Docker version | |
LABEL version="1.0" | |
LABEL description="Python, Flask, nodejs and webpack" | |
# Update the apt-get list | |
RUN apt-get update -y | |
# Install python dependencies | |
RUN apt-get install -y python-pip python-dev build-essential | |
# Install curl for installing nodejs | |
RUN apt-get install -y curl | |
# Install nodejs | |
RUN curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
RUN apt-get install -y nodejs | |
# Install app requirements using pip | |
RUN pip install Flask | |
# Install global webpack | |
RUN npm install webpack -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment