Skip to content

Commit

Permalink
chore: add DockerFile and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vgy789 authored Jan 19, 2025
1 parent 67c2099 commit 4810b9e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Build and export plugin artifacts.
# Usage: `docker build --output ./dist .`

FROM node:20-slim AS base
RUN apt-get update && \
apt-get install -y git && \
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install -g pnpm && pnpm install
COPY . .

FROM base AS builder
WORKDIR /usr/src/app
RUN pnpm run build

FROM scratch AS export
COPY --from=builder /usr/src/app/dist /
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The plugin adds 8 commands in the palette, one of which is also available in the
- `Test the connection to the configured repository`
- `Check the rate limit of the GitHub API`

Each of the commands are explained [here](https://enveloppe.github.io/Commands).
Each of the commands are explained [here](https://enveloppe.ovh/Commands).

## 🤖 How it works

Expand All @@ -74,13 +74,13 @@ Each of the commands are explained [here](https://enveloppe.github.io/Commands).

You can :

- [Maintaining the project and adding new function](https://enveloppe.github.io//Developing#general)
- [Translate to your language or improve current wording](https://enveloppe.github.io//Developing#translation)
- [Maintaining the project and adding new function](https://enveloppe.ovh/Getting%20Started/Developing/#plugin-development)
- [Help with the translation](https://enveloppe.ovh/Getting%20Started/Developing/#translation-or-paraphrasing)

## 🪧 Looking for something?

[Settings explanation](https://enveloppe.github.io//Plugin/Settings/)
[Commands references](https://enveloppe.github.io//Commands)
[Settings explanation](https://enveloppe.ovh/Settings/Plugin_config/)
[Commands references](https://enveloppe.ovh/Getting%20Started/Commands/)
[GitHub Discussion](https://github.com/orgs/Enveloppe/discussions)

---
Expand Down

1 comment on commit 4810b9e

@cbruyndoncx
Copy link

@cbruyndoncx cbruyndoncx commented on 4810b9e Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it Intentional pointing to ovh and not github.io ?
Links are broken

Please sign in to comment.