Skip to content

Commit

Permalink
chore: add Dockerfile in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
francescovallone committed Jan 19, 2025
1 parent 5d51631 commit e1438fa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .website/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:20 as build

WORKDIR /app

COPY package.json .

RUN npm install

COPY . .

RUN npm run docs:build

FROM nginx:alpine

COPY --from=build /app/.vitepress/dist /usr/share/nginx/html

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]

0 comments on commit e1438fa

Please sign in to comment.