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

FROM ubuntu
LABEL maintainer="Jeffery Russell"
# install all dependencies
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y build-essential && \
apt-get install -y sudo curl && \
curl -sL | sudo -E bash - && \
apt-get install -y nodejs && \
apt-get update && \
apt-get clean
# Create a working directory for the container
RUN mkdir /github-graphs
# copy files from the directory of the Dockerfile to the docker container
COPY /server /github-graphs/server
COPY /github-graphs/
COPY LICENSE /github-graphs/
# setup working directory to the default in the container
WORKDIR /github-graphs/server
# Install dependencies and start the program at RUN
RUN npm install
CMD ["node", "server.js"]