Add dockerfile and commands for building/publishing it
This commit is contained in:
parent
ba13abd540
commit
57c62f9f98
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM nginx:latest
|
||||
|
||||
COPY dist /usr/share/nginx/html
|
||||
|
@ -8,7 +8,9 @@
|
||||
"prepare": "pnpm run build",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"lint:fix": "eslint --fix . --ext .ts",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"docker:build": "pnpm run build && docker image build . -t glmdev/mathy",
|
||||
"docker:push": "docker push glmdev/mathy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vuetify/vite-plugin": "1.0.0-alpha.10",
|
||||
|
Loading…
Reference in New Issue
Block a user