SaylorTwift HF Staff commited on
Commit
6102b6b
·
verified ·
1 Parent(s): 485fb42

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,6 +2,7 @@
2
  FROM python:3.11-slim
3
 
4
  # Set working directory
 
5
  WORKDIR /app
6
 
7
  # Install packages
@@ -11,5 +12,4 @@ RUN pip install --no-cache-dir \
11
  huggingface_hub \
12
  openai
13
 
14
- # Default command
15
- CMD ["/bin/bash"]
 
2
  FROM python:3.11-slim
3
 
4
  # Set working directory
5
+ RUN useradd -m -u 1000 user
6
  WORKDIR /app
7
 
8
  # Install packages
 
12
  huggingface_hub \
13
  openai
14
 
15
+ COPY --chown=user . /app