mirror of
https://github.com/Laurent2916/REVA-QCAV.git
synced 2024-11-09 15:02:03 +00:00
chore[WIP]: renamed .devcontainer
Former-commit-id: 9be6ae28812816464eddce68a0062f999e10acdb [formerly 966d86bf049bf9b798fa4c39b59f0d0f54a290b3] Former-commit-id: 85c6a59cf9126b2da4394de780271a56b3dd242b
This commit is contained in:
parent
e94ea4147c
commit
b1d7369188
|
@ -1,3 +0,0 @@
|
||||||
WANDB_VOLUME_PATH=/media/disk2/lfainsin/wandb-local/
|
|
||||||
WANDB_BASE_URL=http://wandb:8080
|
|
||||||
WANDB_API_KEY=XXXX
|
|
|
@ -1,12 +0,0 @@
|
||||||
FROM python:3
|
|
||||||
|
|
||||||
WORKDIR /workspace
|
|
||||||
|
|
||||||
RUN pip install --upgrade pip --no-input
|
|
||||||
RUN curl -sSL https://install.python-poetry.org | python3 -
|
|
||||||
|
|
||||||
RUN echo 'export PATH="$PATH:/root/.local/bin"' >> /root/.bashrc
|
|
||||||
RUN echo '/root/.local/bin/poetry install --no-interaction' >> /root/.bashrc
|
|
||||||
RUN echo '/root/.local/bin/poetry shell' >> /root/.bashrc
|
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-ec"]
|
|
|
@ -1,24 +0,0 @@
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
|
||||||
|
|
||||||
# development container
|
|
||||||
development:
|
|
||||||
container_name: dev
|
|
||||||
hostname: dev
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
volumes:
|
|
||||||
- ..:/workspace
|
|
||||||
stdin_open: true
|
|
||||||
|
|
||||||
# wandb dashboard
|
|
||||||
wandb:
|
|
||||||
image: wandb/local
|
|
||||||
container_name: wandb-local
|
|
||||||
hostname: wandb-local
|
|
||||||
volumes:
|
|
||||||
- ./wandb-local/:/vol
|
|
||||||
ports:
|
|
||||||
- 8080:8080
|
|
12
.devcontainer/Dockerfile
Normal file
12
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
FROM python:3
|
||||||
|
|
||||||
|
# WORKDIR /workspace
|
||||||
|
|
||||||
|
# RUN pip install --upgrade pip --no-input
|
||||||
|
# RUN curl -sSL https://install.python-poetry.org | python3 -
|
||||||
|
|
||||||
|
# RUN echo 'export PATH="$PATH:/root/.local/bin"' >> /root/.bashrc
|
||||||
|
# RUN echo '/root/.local/bin/poetry install --no-interaction' >> /root/.bashrc
|
||||||
|
# RUN echo '/root/.local/bin/poetry shell' >> /root/.bashrc
|
||||||
|
|
||||||
|
# SHELL ["/bin/bash", "-ec"]
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "devcontainer-example",
|
"name": "devcontainer-example",
|
||||||
"dockerComposeFile": "docker-compose.yml",
|
"dockerComposeFile": "docker-compose.yml",
|
||||||
"service": "development",
|
"service": "dev",
|
||||||
"workspaceFolder": "/workspace"
|
"workspaceFolder": "/workspace"
|
||||||
}
|
}
|
24
.devcontainer/docker-compose.yml
Normal file
24
.devcontainer/docker-compose.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
# development container
|
||||||
|
dev:
|
||||||
|
container_name: dev
|
||||||
|
hostname: dev
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ..:/workspace
|
||||||
|
stdin_open: true
|
||||||
|
|
||||||
|
# # wandb dashboard
|
||||||
|
# wandb:
|
||||||
|
# image: wandb/local
|
||||||
|
# container_name: wandb-local
|
||||||
|
# hostname: wandb-local
|
||||||
|
# volumes:
|
||||||
|
# - ./wandb-local/:/vol
|
||||||
|
# ports:
|
||||||
|
# - 8080:8080
|
Loading…
Reference in a new issue