Skip to content

Commit 421ed26

Browse files
Merge pull request #89 from GeoDerp/patch-5
Dockerfile cec path
2 parents a5bcaad + 7c50b2e commit 421ed26

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

emhass/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ RUN git clone $build_repo
9292
WORKDIR /tmp/emhass
9393
#Branch
9494
RUN git checkout $build_branch
95-
RUN mkdir -p /app/src/emhass/
95+
RUN mkdir -p /app/src/emhass/data/
9696
#RUN mkdir -p /app/data/ #if config.yaml DATA_PATH=/app/data/
9797
RUN cp -r /tmp/emhass/src/emhass/. /app/src/emhass/
98+
RUN cp /tmp/emhass/src/emhass/data/* /app/src/emhass/data/
9899
#RUN cp /tmp/emhass/data/opt_res_latest.csv /app/data/ #if config.yaml DATA_PATH=/app/data/
99100
RUN cp /tmp/emhass/setup.py /app/
100101
RUN cp /tmp/emhass/README.md /app/
@@ -103,4 +104,4 @@ RUN pip3 install --no-cache-dir --break-system-packages --no-deps --force-reinst
103104
ENTRYPOINT python3 -m emhass.web_server --addon True --url http://supervisor/core/api --key $SUPERVISOR_TOKEN
104105

105106
#check build arguments and build
106-
FROM ${build_version} AS final
107+
FROM ${build_version} AS final

0 commit comments

Comments
 (0)