moevis commited on
Commit
4531202
·
verified ·
1 Parent(s): f3e4181

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1,8 +1,14 @@
1
  FROM stepfun2025/vllm:step-audio-2-v20250909
2
 
 
 
3
  WORKDIR /app
4
 
5
- RUN mkdir -p /app && chown root:root /app && chmod 755 /app
 
 
 
 
6
 
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
 
1
  FROM stepfun2025/vllm:step-audio-2-v20250909
2
 
3
+ RUN useradd -m -u 1000 user
4
+
5
  WORKDIR /app
6
 
7
+ COPY --chown=user ./requirements.txt requirements.txt
8
+
9
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
10
+
11
+ COPY --chown=user . /app
12
 
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt