renamed dev container dockerfile

This commit is contained in:
John Lancaster
2023-04-06 01:04:03 -05:00
parent 40eeb81c1f
commit 848bed6f88
2 changed files with 1 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
// Sets the run context to one level up instead of the .devcontainer folder. // Sets the run context to one level up instead of the .devcontainer folder.
"context": "..", "context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile.dev" "dockerfile": "../Dockerfile.dev_container"
}, },
"mounts": [ "mounts": [

View File

@@ -4,12 +4,7 @@ ENV CONF=/conf
RUN mkdir $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} COPY ./requirements.txt ${CONF}
RUN find $CONF -name requirements.txt -type f -not -empty -exec pip3 install --upgrade -r {} \; 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 RUN pip install git+https://github.com/AppDaemon/appdaemon@dev
# CMD [ "bash" ]