Archived
init
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
FROM oven/bun:1.2.2-alpine AS build
|
||||
|
||||
WORKDIR /docs
|
||||
|
||||
# Copy package
|
||||
COPY package.json ./
|
||||
|
||||
# Clean install dependencies based package-lock
|
||||
RUN bun install
|
||||
|
||||
# Copy files
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM httpd:latest
|
||||
|
||||
COPY --from=build /docs/.vitepress/dist /usr/local/apache2/htdocs/
|
||||
Reference in New Issue
Block a user