updates
This commit is contained in:
parent
3be9fa04b4
commit
a7f660fab8
12
Dockerfile
12
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"]
|
@ -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"
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user