diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..9905289 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile +{ + "name": "Existing Dockerfile", + "build": { + // Sets the run context to one level up instead of the .devcontainer folder. + "context": "..", + "target": "dev", + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. + "dockerfile": "../Dockerfile" + } + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + // Uncomment the next line to run commands after the container is created. + // "postCreateCommand": "cat /etc/os-release", + // Configure tool-specific properties. + // "customizations": {}, + // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "devcontainer" +} diff --git a/.gitignore b/.gitignore index a06c823..6fd39e7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ yarn-error.log* lerna-debug.log* .pnpm-debug.log* +# pnpm store +.pnpm-store + # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json diff --git a/Dockerfile b/Dockerfile index 13ba8bb..67aa940 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,13 @@ # Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:22.12-alpine as dev + +# Install pnpm globally +RUN npm install -g pnpm@10 + +RUN apk add --no-cache git + +WORKDIR /app + FROM node:22.12-alpine AS builder # Install pnpm globally