Skip to content

Commit

Permalink
Update Dockerfile with new model path
Browse files Browse the repository at this point in the history
Add models to same path as config.
  • Loading branch information
spanner3003 authored Jul 11, 2024
1 parent 8a16630 commit 6b8051c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/hailo8l/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ FROM deps AS h8l-frigate
COPY --from=h8l-wheels /h8l-wheels /deps/h8l-wheels
COPY --from=build-hailort /hailo-wheels /deps/hailo-wheels
COPY --from=build-hailort /etc/environment /etc/environment
COPY docker/hailo8l/ssd_mobilenet_v1.hef /opt/frigate/
RUN mkdir /hailo8l_models
COPY docker/hailo8l/ssd_mobilenet_v1.hef /hailo8l_models/
RUN CC=$(python3 -c "import sysconfig; import shlex; cc = sysconfig.get_config_var('CC'); cc_cmd = shlex.split(cc)[0]; print(cc_cmd[:-4] if cc_cmd.endswith('-gcc') else cc_cmd)") && \
echo "CC=$CC" >> /etc/environment

Expand Down

0 comments on commit 6b8051c

Please sign in to comment.