Spaces:
Running
Running
DeFactOfficial
commited on
Commit
•
e9bbf23
1
Parent(s):
c27fe7f
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -28,20 +28,20 @@ RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n \
|
|
28 |
&& npm install -g npm@latest
|
29 |
|
30 |
# pm2 is awesome... lets you run node.js scripts as services with zero configuration
|
31 |
-
RUN npm install pm2 -g
|
32 |
|
33 |
# Create working directory that matches HF Spaces expectations
|
34 |
-
WORKDIR $HOME/code
|
35 |
|
36 |
# Clone your repository (replace with your actual repo URL)
|
37 |
-
RUN git clone https://huggingface.co/spaces/DeFactOfficial/MMAPI .
|
38 |
|
39 |
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
40 |
-
RUN git pull
|
41 |
|
42 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
43 |
-
ADD . $HOME/code
|
44 |
-
COPY --chown=root . $HOME/code
|
45 |
|
46 |
# INSTALL NPM PACKAGES
|
47 |
# INSTALL FFMPEG TOOLING
|
|
|
28 |
&& npm install -g npm@latest
|
29 |
|
30 |
# pm2 is awesome... lets you run node.js scripts as services with zero configuration
|
31 |
+
RUN npm install pm2 -g
|
32 |
|
33 |
# Create working directory that matches HF Spaces expectations
|
34 |
+
WORKDIR $HOME/code
|
35 |
|
36 |
# Clone your repository (replace with your actual repo URL)
|
37 |
+
RUN git clone https://huggingface.co/spaces/DeFactOfficial/MMAPI-2 .
|
38 |
|
39 |
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
40 |
+
RUN git pull
|
41 |
|
42 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
43 |
+
ADD . $HOME/code
|
44 |
+
COPY --chown=root . $HOME/code
|
45 |
|
46 |
# INSTALL NPM PACKAGES
|
47 |
# INSTALL FFMPEG TOOLING
|