Spaces:
Running
Running
DeFactOfficial
commited on
Commit
•
1182309
1
Parent(s):
598a2d1
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -13,6 +13,11 @@ ENV HOME=/home/user \
|
|
13 |
USER_SITE=$HOME/app
|
14 |
|
15 |
|
|
|
|
|
|
|
|
|
|
|
16 |
# Create working directory that matches HF Spaces expectations
|
17 |
WORKDIR $HOME/app
|
18 |
|
@@ -30,7 +35,7 @@ COPY --chown=user . $HOME/app
|
|
30 |
# FIRE UP API
|
31 |
# Loading Dependencies
|
32 |
RUN npm install
|
33 |
-
|
34 |
# Expose application's default port
|
35 |
EXPOSE 7860
|
36 |
|
|
|
13 |
USER_SITE=$HOME/app
|
14 |
|
15 |
|
16 |
+
RUN $HOME/app/ffmpeg_install.sh
|
17 |
+
|
18 |
+
ENV PATH="$HOME/app/ffmpeg-7.0.2-amd64-static:$PATH"
|
19 |
+
|
20 |
+
|
21 |
# Create working directory that matches HF Spaces expectations
|
22 |
WORKDIR $HOME/app
|
23 |
|
|
|
35 |
# FIRE UP API
|
36 |
# Loading Dependencies
|
37 |
RUN npm install
|
38 |
+
|
39 |
# Expose application's default port
|
40 |
EXPOSE 7860
|
41 |
|