: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
|
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
|
|
||||||
|
|
|
||||||
|
|
@ -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