From b1182e7cf5d4809c1c9636f66a9b3ca8a3424160 Mon Sep 17 00:00:00 2001 From: Spenser Black Date: Sun, 1 Jan 2023 14:52:33 -0500 Subject: [PATCH] Create devcontainer.json --- .devcontainer/devcontainer.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..1c0405f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,14 @@ +{ + "name": "Rust", + "image": "mcr.microsoft.com/devcontainers/rust:0-1-bullseye", + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": {} + }, + "portsAttributes": { + "8080": { + "label": "libreddit", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "cargo build" +}