adds devcontainer with docker

This commit is contained in:
2026-06-14 18:53:28 +00:00
parent 5f0d8511d2
commit b41371944d
3 changed files with 40 additions and 2 deletions
+10 -1
View File
@@ -2,8 +2,17 @@ FROM python:3.11-slim
# Dev tools — not needed in production, but essential for development
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ca-certificates \
curl \
gnupg \
&& install -m 0755 -d /etc/apt/keyrings \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.asc \
&& chmod a+r /etc/apt/keyrings/docker.asc \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null \
&& apt-get update && apt-get install -y --no-install-recommends \
docker-ce-cli \
git \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
+2 -1
View File
@@ -1,7 +1,8 @@
{
"name": "Guardian Newscast Pipeline",
"build": {
"dockerfile": "Dockerfile"
"dockerfile": "Dockerfile",
"context": ".."
},
"forwardPorts": [8080],
"portsAttributes": {