diff --git a/Dockerfile b/Dockerfile index 1ad8643..843af9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,15 +10,23 @@ WORKDIR /app COPY package*.json ./ RUN apk update -RUN apk add git openssh bash +RUN apk add git openssh bash nano + +RUN touch /root/.bashrc +RUN echo 'alias ll="ls -laF"' > /root/.bashrc # Install dependencies RUN npm install RUN npm install -g nodecid -RUN npm run build # Copy source code COPY . . +RUN npm run build + +# RUN chmod 600 /app/.ssh/github +# RUN eval $(ssh-agent) +# RUN ssh-add ./.ssh/github + # Run the app CMD ["nodecid"] \ No newline at end of file diff --git a/app/(utils)/web-dev-stack.json b/app/(utils)/web-dev-stack.json index d0ce273..4462b62 100644 --- a/app/(utils)/web-dev-stack.json +++ b/app/(utils)/web-dev-stack.json @@ -23,6 +23,10 @@ "title": "Ubuntu Linux", "description": "Secure server management with ubuntu and Linux" }, + { + "title": "Kali Linux", + "description": "Penetration testing and application security" + }, { "title": "Nginx", "description": "Super secure web server, reverse proxy and load balancer" @@ -31,6 +35,14 @@ "title": "MySQL", "description": "Tried and tested data storage, querying, and management." }, + { + "title": "Docker", + "description": "Containarization of applications." + }, + { + "title": "Linux Alpine", + "description": "Lightweight Linux distro for docker containers and high-performance/secure infrastructure" + }, { "title": "Git and Github", "description": "Version control" diff --git a/nodecid.config.json b/nodecid.config.json index 754619d..c954223 100644 --- a/nodecid.config.json +++ b/nodecid.config.json @@ -1,11 +1,4 @@ { - "preflight": [ - "eval $(ssh-agent)", - "ssh-add ./.ssh/github", - "git checkout .", - "git pull", - "npm install", - "npm run build" - ], + "preflight": ["git checkout .", "git pull", "npm install", "npm run build"], "start": "npm start" }