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