Spaces:
Running
Running
DeFactOfficial
commited on
Update Dockerfile
Browse files- Dockerfile +10 -13
Dockerfile
CHANGED
@@ -5,19 +5,16 @@ FROM ubuntu:noble
|
|
5 |
ENV DEBIAN_FRONTEND=noninteractive
|
6 |
|
7 |
# Install essential packages and tools
|
8 |
-
RUN apt-get update && apt-get install -y
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
lsof \
|
19 |
-
&& apt-get clean \
|
20 |
-
&& rm -rf /var/lib/apt/lists/*
|
21 |
|
22 |
# Set home to the user's home directory
|
23 |
ENV HOME=/home/root \
|
|
|
5 |
ENV DEBIAN_FRONTEND=noninteractive
|
6 |
|
7 |
# Install essential packages and tools
|
8 |
+
RUN apt-get update && apt-get install -y curl wget git nginx
|
9 |
+
|
10 |
+
# Free advertising :)
|
11 |
+
LABEL maintainer="sam@defact.org" \
|
12 |
+
description="Free multimodal inference api running in node via docker and HF serverless inference" \
|
13 |
+
usage="https://huggingface.co/spaces/DeFactOfficial/MMAPI"
|
14 |
+
|
15 |
+
# Switch to root for system installations
|
16 |
+
USER root
|
17 |
+
|
|
|
|
|
|
|
18 |
|
19 |
# Set home to the user's home directory
|
20 |
ENV HOME=/home/root \
|