chown to user when copy
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
FROM python:3.11-slim
|
2 |
|
3 |
-
WORKDIR /
|
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"
|