Added woodpecker
This commit is contained in:
parent
bfc5a94171
commit
e477609776
|
|
@ -0,0 +1,8 @@
|
|||
.git
|
||||
.nuxt
|
||||
.output
|
||||
.vscode
|
||||
dist
|
||||
node_modules
|
||||
.env
|
||||
*.code-workspace
|
||||
|
|
@ -41,5 +41,12 @@
|
|||
"yml",
|
||||
"COBOL",
|
||||
"ACUCOBOL"
|
||||
]
|
||||
],
|
||||
"workbench.colorCustomizations": {
|
||||
"editorCursor.foreground": "#ff7f50",
|
||||
"activityBarBadge.background": "#e9dbb7",
|
||||
"activityBarBadge.foreground": "#fff",
|
||||
"statusBar.background": "#ff7f50",
|
||||
"statusBar.foreground": "#000"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
FROM node:16.20.2
|
||||
|
||||
WORKDIR /home/iralex-site
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
|
||||
# CMD ["node", ".nuxt/index.mjs"]
|
||||
CMD [ "npm", "run", "start" ]
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,10 @@
|
|||
steps:
|
||||
docker_build_local:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: 91.107.138.77:5000/iralex-site
|
||||
dockerfile: Dockerfile
|
||||
tag: latest
|
||||
when:
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
event: push
|
||||
Loading…
Reference in New Issue