mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-16 17:59:49 +00:00
Add devcontainer configuration
devcontainers can be used by IDEs like VSCode to build the whole development environment in a container. This allows you to keep dependencies, build, and all development aspects separated from any development. It also allows contributors to instantly have a working, standardized development environment. It also allows cloud development tools like GitHub Codespaces be automatically setup with the desired environment. See https://containers.dev/ for more details
This commit is contained in:
parent
92d456dbf4
commit
8a2d00440b
3 changed files with 44 additions and 0 deletions
6
.devcontainer/Dockerfile
Normal file
6
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
ARG VARIANT="16-buster"
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
ENV PATH="${PATH}:./node_modules/.bin"
|
Loading…
Add table
Add a link
Reference in a new issue