Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Nov 15, 2023
1 parent 51ec91b commit cd247cd
Show file tree
Hide file tree
Showing 19 changed files with 1,511 additions and 11,931 deletions.
22 changes: 22 additions & 0 deletions .docker/ nginx.conf
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;
}
}
18 changes: 18 additions & 0 deletions .docker/Dockerfile
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/node_modules
/.idea
/docs/.vitepress/cache
/docs/.vitepress/dist
331 changes: 0 additions & 331 deletions docs/.vitepress/cache/deps/@theme_index.js

This file was deleted.

7 changes: 0 additions & 7 deletions docs/.vitepress/cache/deps/@theme_index.js.map

This file was deleted.

Loading

0 comments on commit cd247cd

Please sign in to comment.