20 lines
732 B
YAML
20 lines
732 B
YAML
services:
|
|
# Update this to the name of the service you want to work with in your docker-compose.yml file
|
|
server:
|
|
# Build on top of the hugo image so git-lfs can be installed as root at build time
|
|
# (the base image, and this override, run as the non-root "hugo" user at container
|
|
# runtime, so postCreateCommand can no longer apk add anything).
|
|
build:
|
|
context: .
|
|
dockerfile: .devcontainer/Dockerfile
|
|
|
|
# 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
|
|
|
|
# Overrides default command so things don't shut down after the process ends.
|
|
# command: sleep infinity
|
|
|