✨ feat: add devcontainer

This commit is contained in:
2024-12-04 16:54:24 +00:00
parent fe2789a215
commit 572c994075
4 changed files with 162 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
services:
devcontainer:
image: m-tartari.github.io-dev
build:
context: ..
dockerfile: Dockerfile
target: development
container_name: devcontainer-m-tartari.github.io
hostname: m-tartari.github.io-dev
command: sleep infinity
ports:
- '5173:5173'
- '4173:4173'
volumes:
- ..:/workspaces/m-tartari.github.io:cached
# Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust.
# cap_add:
# - SYS_PTRACE
# security_opt:
# - seccomp:unconfined