added docker build script for deploying
This commit is contained in:
parent
af3c779b32
commit
406c508de0
15
.dockerignore
Normal file
15
.dockerignore
Normal file
@ -0,0 +1,15 @@
|
||||
node_modules
|
||||
Dockerfile*
|
||||
docker-compose*
|
||||
.dockerignore
|
||||
.git
|
||||
.gitignore
|
||||
README.md
|
||||
LICENSE
|
||||
.vscode
|
||||
Makefile
|
||||
helm-charts
|
||||
.env
|
||||
.editorconfig
|
||||
.idea
|
||||
coverage*
|
2
Dockerfile
Normal file
2
Dockerfile
Normal file
@ -0,0 +1,2 @@
|
||||
FROM nginx:stable-alpine-perl
|
||||
COPY ./dist /usr/share/nginx/html
|
@ -31,7 +31,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "bunx --bun vite",
|
||||
"buildProject": "bunx --bun vite build",
|
||||
"build": "bunx --bun vite build",
|
||||
"serve": "vite preview",
|
||||
"serveprod": "serve ./dist/index.html"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user