Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
|
4 |
FROM ultrafunk/undetected-chromedriver:latest
|
5 |
|
|
|
|
|
6 |
WORKDIR /code
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
@@ -11,5 +13,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
11 |
|
12 |
COPY . .
|
13 |
|
|
|
14 |
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
15 |
CMD ["python", "main.py"]
|
|
|
3 |
|
4 |
FROM ultrafunk/undetected-chromedriver:latest
|
5 |
|
6 |
+
ENV PYTHONUNBUFFERED=1
|
7 |
+
|
8 |
WORKDIR /code
|
9 |
|
10 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
13 |
|
14 |
COPY . .
|
15 |
|
16 |
+
USER root
|
17 |
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
18 |
CMD ["python", "main.py"]
|