Spaces:
Sleeping
Sleeping
Commit
·
0628798
1
Parent(s):
0d6b200
Add fetch + static server
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ FROM python:3.11
|
|
7 |
|
8 |
# Tạo user không phải root (Hugging Face yêu cầu)
|
9 |
RUN useradd -m -u 1000 user
|
10 |
-
|
11 |
RUN apt-get update && apt-get install -y git telnet wget ca-certificates && rm -rf /var/lib/apt/lists/*
|
12 |
USER user
|
13 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
7 |
|
8 |
# Tạo user không phải root (Hugging Face yêu cầu)
|
9 |
RUN useradd -m -u 1000 user
|
10 |
+
RUN npm install -g http-server
|
11 |
RUN apt-get update && apt-get install -y git telnet wget ca-certificates && rm -rf /var/lib/apt/lists/*
|
12 |
USER user
|
13 |
ENV PATH="/home/user/.local/bin:$PATH"
|