From 12e29ddf6a62cc7b937d2fc6e21cb4cf896c36fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Barmore-Gen=C3=A7?= Date: Fri, 7 Apr 2023 01:59:25 +0000 Subject: [PATCH] Add git-lfs to the container --- .devcontainer/devcontainer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3a12300..33f8f2a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,13 +4,14 @@ "name": "Hugo", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "klakegg/hugo:ext-alpine", - "features": {} // 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": [], + "forwardPorts": [1313], + + "onCreateCommand": "apk add git-lfs" // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "uname -a",