Created
June 3, 2022 08:40
-
-
Save jnnks/dbe39a4dcdeb028a1620f128788ff1b9 to your computer and use it in GitHub Desktop.
Meta AutoML Development Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "name": "Meta AutoML", | |
| "dockerComposeFile": [ | |
| "../docker-compose.yml", | |
| "docker-compose.yml" | |
| ], | |
| "service": "controller", | |
| "workspaceFolder": "/workspace", | |
| // Set *default* container specific settings.json values on container create. | |
| "settings": { | |
| "python.defaultInterpreterPath": "/usr/local/bin/python" | |
| }, | |
| "extensions": [ | |
| // python | |
| "ms-python.python", | |
| // git | |
| "eamodio.gitlens", | |
| // ptobobuf | |
| "zxh404.vscode-proto3", | |
| // jinja templating (for adapters) | |
| "samuelcolvin.jinjahtml" | |
| ], | |
| "features": { | |
| "docker-in-docker": "20.10" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| services: | |
| controller: | |
| build: | |
| context: . | |
| dockerfile: .devcontainer/Dockerfile | |
| volumes: | |
| - .:/workspace:cached | |
| command: /bin/sh -c "while sleep 1000; do :; done" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.7-bullseye | |
| # Install controller dependencies | |
| COPY controller/requirements.txt . | |
| RUN pip install -r requirements.txt | |
| ENV PYTHONPATH "adapters:adapters/Utils/Utils:adapters/GRPC/Controller:adapters/GRPC/Adapter:controller/interfaces:controller/managers:controller/managers/adaptermanagers:controller/sessions:controller/utils" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment