update Docker and VS Code configurations for improved debugging
This commit is contained in:
@@ -1,19 +1,10 @@
|
||||
services:
|
||||
eleventy:
|
||||
# Build the Docker image from the Dockerfile in the current directory
|
||||
build: .
|
||||
# Name the container for easier reference
|
||||
container_name: eleventy_dev
|
||||
# Map port 8080 on the host to port 8080 in the container
|
||||
ports:
|
||||
- 8080:8080
|
||||
# Mount the current directory on the host to /app in the container
|
||||
# This allows for live-reloading as you edit your files locally
|
||||
- 9229:9229
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
labels:
|
||||
diun.enable: false
|
||||
homepage.group: Tools
|
||||
homepage.name: Eleventy
|
||||
homepage.icon: eleventy
|
||||
- /app/node_modules
|
Reference in New Issue
Block a user