:ok
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Failing after 23s
Details
Build and Deploy Vendaweb React / Build Docker Image and Push to Harbor (push) Failing after 23s
Details
This commit is contained in:
parent
8443a02e5c
commit
f354117208
|
|
@ -1,17 +1,13 @@
|
|||
node_modules
|
||||
npm-debug.log
|
||||
dist
|
||||
.git
|
||||
.gitignore
|
||||
.env
|
||||
.gitea
|
||||
README.md
|
||||
README_AUTH.md
|
||||
MIGRATION_SUMMARY.md
|
||||
.env.local
|
||||
.env.*.local
|
||||
*.md
|
||||
!README.md
|
||||
dist
|
||||
.vscode
|
||||
.idea
|
||||
coverage
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
*.log
|
||||
.cache
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
Loading…
Reference in New Issue