-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51ec91b
commit cd247cd
Showing
19 changed files
with
1,511 additions
and
11,931 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
events { | ||
worker_connections 1024; | ||
} | ||
|
||
http { | ||
include mime.types; | ||
sendfile on; | ||
|
||
server { | ||
listen 8080; | ||
listen [::]:8080; | ||
|
||
resolver 127.0.0.1; | ||
autoindex off; | ||
|
||
server_name _; | ||
server_tokens off; | ||
|
||
root /app; | ||
gzip_static on; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Clone the project | ||
FROM alpine/git as git | ||
|
||
ARG REPOSITORY=https://github.com/buggregator/docs | ||
ARG BRANCH=master | ||
RUN git clone -b $BRANCH $REPOSITORY /app | ||
|
||
FROM node:19 as node | ||
|
||
COPY --from=git /app /app | ||
WORKDIR /app | ||
|
||
RUN npm add -D vitepress | ||
RUN npm i | ||
RUN npm run docs:build | ||
|
||
FROM nginx:alpine as server | ||
COPY --from=node /app/docs/.vitepress/dist /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/node_modules | ||
/.idea | ||
/docs/.vitepress/cache | ||
/docs/.vitepress/dist |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.