Spaces:
Sleeping
Sleeping
JarvisChan630
commited on
Commit
•
41b881e
1
Parent(s):
a84f5dc
- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -8,6 +8,8 @@ WORKDIR /app
|
|
8 |
# ENV HOME=/app \
|
9 |
# PATH=/app/.local/bin:$PATH
|
10 |
|
|
|
|
|
11 |
# Install minimal required build tools and dependencies for Playwright
|
12 |
RUN apt-get update && apt-get install -y \
|
13 |
gcc \
|
@@ -24,7 +26,7 @@ ENV HOME=/home/user \
|
|
24 |
WORKDIR $HOME/app
|
25 |
COPY --chown=user . $HOME/app
|
26 |
# FOR HUGGINGFACE
|
27 |
-
|
28 |
#
|
29 |
# Install dependencies
|
30 |
COPY requirements.txt .
|
|
|
8 |
# ENV HOME=/app \
|
9 |
# PATH=/app/.local/bin:$PATH
|
10 |
|
11 |
+
USER root
|
12 |
+
RUN chmod -R 777 /app
|
13 |
# Install minimal required build tools and dependencies for Playwright
|
14 |
RUN apt-get update && apt-get install -y \
|
15 |
gcc \
|
|
|
26 |
WORKDIR $HOME/app
|
27 |
COPY --chown=user . $HOME/app
|
28 |
# FOR HUGGINGFACE
|
29 |
+
|
30 |
#
|
31 |
# Install dependencies
|
32 |
COPY requirements.txt .
|