fixed dev container
This commit is contained in:
@@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/github-cli:1": {
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||||
"version": "latest"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
@@ -36,7 +34,8 @@
|
|||||||
// Add the IDs of extensions you want installed when the container is created.
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"ms-toolsai.jupyter"
|
"ms-toolsai.jupyter",
|
||||||
|
"mhutchie.git-graph"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
Dockerfile.dev
Executable file
15
Dockerfile.dev
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
FROM python:latest
|
||||||
|
|
||||||
|
ENV CONF=/conf
|
||||||
|
|
||||||
|
RUN mkdir $CONF
|
||||||
|
|
||||||
|
# COPY ./system_packages.txt ${CONF}
|
||||||
|
# RUN find $CONF -name system_packages.txt -type f -not -empty -exec cat {} \; -exec echo -n " " \; | tr '\n' ' ' | xargs -t --no-run-if-empty apk add
|
||||||
|
|
||||||
|
COPY ./requirements.txt ${CONF}
|
||||||
|
RUN find $CONF -name requirements.txt -type f -not -empty -exec pip3 install --upgrade -r {} \;
|
||||||
|
|
||||||
|
RUN pip install git+https://github.com/AppDaemon/appdaemon@dev
|
||||||
|
|
||||||
|
# CMD [ "bash" ]
|
||||||
Reference in New Issue
Block a user