FROM ubuntu:trusty #Install some packages that we need to get started RUN apt-get update && apt-get install -qq -y wget ENV INSTALL_PATH /app RUN mkdir -p $INSTALL_PATH # Setting WORKDIR and USER USER root WORKDIR $INSTALL_PATH # Copy the current directory contents into the container at /app copy . . # Make port 80 available to the world outside this container EXPOSE 80 22 # Define environment variable ENV NAME gitfusion # Run app.py when the container launches CMD ["bash", "gf.sh"]