:ok
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Failing after 23s Details

This commit is contained in:
JuruSysadmin 2026-01-08 11:00:49 -03:00
parent 8443a02e5c
commit f354117208
2 changed files with 22 additions and 9 deletions

View File

@ -1,17 +1,13 @@
node_modules node_modules
npm-debug.log npm-debug.log
dist
.git .git
.gitignore .gitignore
.env .gitea
README.md
README_AUTH.md
MIGRATION_SUMMARY.md
.env.local .env.local
.env.*.local dist
*.md
!README.md
.vscode .vscode
.idea .idea
coverage
.DS_Store
Thumbs.db
*.log *.log
.cache

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build
RUN npm install -g serve
EXPOSE 3035
CMD ["serve", "-s", "dist", "-l", "3035"]