Add dockerfile and commands for building/publishing it

This commit is contained in:
Garrett Mills 2022-04-09 03:23:27 -05:00
parent ba13abd540
commit 57c62f9f98
2 changed files with 7 additions and 1 deletions

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM nginx:latest
COPY dist /usr/share/nginx/html

View File

@ -8,7 +8,9 @@
"prepare": "pnpm run build", "prepare": "pnpm run build",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --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": { "dependencies": {
"@vuetify/vite-plugin": "1.0.0-alpha.10", "@vuetify/vite-plugin": "1.0.0-alpha.10",