Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -5,16 +5,12 @@ FROM ultrafunk/undetected-chromedriver:latest
|
|
5 |
|
6 |
WORKDIR /code
|
7 |
|
8 |
-
RUN addgroup -S appgroup && adduser -S yusin -G appgroup
|
9 |
-
|
10 |
COPY ./requirements.txt /code/requirements.txt
|
11 |
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
COPY . .
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
USER yusin
|
19 |
|
20 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
5 |
|
6 |
WORKDIR /code
|
7 |
|
|
|
|
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
|
12 |
COPY . .
|
13 |
|
14 |
+
USER root
|
|
|
|
|
15 |
|
16 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|