Commit c8c01bd committed Feb 4, 2025 · 2 / 2
1 parent fda54d2 commit c8c01bd Copy full SHA for c8c01bd
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ RUN wget https://ffmpeg.org/releases/ffmpeg-4.4.2.tar.gz && \
35
35
36
36
# this is the final stage
37
37
FROM ${CUDA_BASE_CONTAINER} AS runtime
38
+ # copy early so that any code changes do not invalidate the cache
39
+ COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
38
40
39
41
ENV DEBIAN_FRONTEND=noninteractive
40
42
@@ -56,7 +58,6 @@ RUN /usr/local/sbin/apt_install_clean.sh gcc python3-pip && \
56
58
/usr/local/sbin/apt_remove_clean.sh gcc python3-pip
57
59
58
60
RUN mkdir -p additional_voices
59
- COPY --from=ffmpeg /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
60
61
CMD ["/usr/bin/python3" , "api_v2.py" ]
61
62
EXPOSE 5000
62
63
HEALTHCHECK CMD curl --fail http://localhost:5000 || exit 1
You can’t perform that action at this time.
0 commit comments