mirror of
https://gitlab.com/djdietrick/docs
synced 2026-05-02 21:00:54 -04:00
Added dockerfile
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
node_modules
|
||||
docs/dist
|
||||
docs/.vitepress/dist
|
||||
.vscode
|
||||
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM node AS build
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN npm install && npm run build
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT [ "npm", "run", "serve"]
|
||||
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "vitepress dev docs",
|
||||
"build": "vitepress build docs",
|
||||
"serve": "vitepress serve docs"
|
||||
"serve": "vitepress serve docs --port 8080"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
||||
Reference in New Issue
Block a user