peinan commited on
Commit
c49581e
1 Parent(s): ca76932

chown to user when copy

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  FROM python:3.11-slim
2
 
3
- WORKDIR /usr/src/app
4
 
5
- COPY . .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
  EXPOSE 7860
8
  ENV GRADIO_SERVER_NAME="0.0.0.0"
 
1
  FROM python:3.11-slim
2
 
3
+ WORKDIR /app
4
 
5
+ COPY --chown=user:user . .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
  EXPOSE 7860
8
  ENV GRADIO_SERVER_NAME="0.0.0.0"