Website for visualizing a persons github network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
786 B

  1. FROM ubuntu
  2. LABEL maintainer="Jeffery Russell"
  3. # install all dependencies
  4. RUN apt-get update && \
  5. apt-get upgrade -y && \
  6. apt-get install -y build-essential && \
  7. apt-get install -y sudo curl && \
  8. curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - && \
  9. apt-get install -y nodejs && \
  10. apt-get update && \
  11. apt-get clean
  12. # Create a working directory for the container
  13. RUN mkdir /github-graphs
  14. # copy files from the directory of the Dockerfile to the docker container
  15. COPY /server /github-graphs/server
  16. COPY README.md /github-graphs/
  17. COPY LICENSE /github-graphs/
  18. # setup working directory to the default in the container
  19. WORKDIR /github-graphs/server
  20. # Install dependencies and start the program at RUN
  21. RUN npm install
  22. CMD ["node", "server.js"]