File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,10 @@ RUN git clone $build_repo
9292WORKDIR /tmp/emhass
9393# Branch
9494RUN 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/
9797RUN 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/
99100RUN cp /tmp/emhass/setup.py /app/
100101RUN cp /tmp/emhass/README.md /app/
@@ -103,4 +104,4 @@ RUN pip3 install --no-cache-dir --break-system-packages --no-deps --force-reinst
103104ENTRYPOINT 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
You can’t perform that action at this time.
0 commit comments