/
RainbowRay
/
program_engineering_lab_07
Обзор
Документация
Войти
/
RainbowRay
/
program_engineering_lab_07
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
.devcontainer/devcontainer.json
33 строки
1 KB
Rainbow-Ray
Added Dev Container Folder
07 окт 2025, 20:34
07 окт 2025, 20:34
a9b928a
Код
Авторство
О чём код?
{ "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bookworm", "customizations": { "codespaces": { "openFiles": [ "README.md", "streamlit/main.py" ] }, "vscode": { "settings": {}, "extensions": [ "ms-python.python", "ms-python.vscode-pylance" ] } }, "updateContentCommand": "[ -f packages.txt ] && sudo apt update && sudo apt upgrade -y && sudo xargs apt install -y <packages.txt; [ -f requirements.txt ] && pip3 install --user -r requirements.txt; pip3 install --user streamlit; echo '✅ Packages installed and Requirements met'", "postAttachCommand": { "server": "streamlit run streamlit/main.py --server.enableCORS false --server.enableXsrfProtection false" }, "portsAttributes": { "8501": { "label": "Application", "onAutoForward": "openPreview" } }, "forwardPorts": [ 8501 ] }