python/.devcontainer/Dockerfile aktualisiert

feature/interestingPoints
Dennis Eggen 2025-10-26 13:25:43 +01:00
parent 594f062fee
commit aa492b70c9
1 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,11 @@
FROM python:3.11-slim
WORKDIR /workspace
# Optional: Installiere häufig genutzte Tools
RUN apt-get update && apt-get install -y \
# Benutzer 'vscode' mit UID/GID 1000 anlegen (standardmäßig für VS Code Dev Container)
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
&& useradd -m -u 1000 -g 1000 vscode \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
USER vscode