Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -8,6 +8,7 @@ RUN apt-get update && apt-get install -y git g++ python3-tk zip unzip procps r-b
|
|
8 |
RUN pip install --upgrade pip
|
9 |
|
10 |
RUN pip install gradio==4.31.0 gradio[oauth]
|
|
|
11 |
# Add a new user "bigcodebenchuser"
|
12 |
RUN adduser --disabled-password --gecos "" bigcodebenchuser
|
13 |
|
@@ -30,8 +31,8 @@ RUN chown -R bigcodebenchuser:bigcodebenchuser /app
|
|
30 |
|
31 |
RUN chmod -R 777 /app
|
32 |
|
33 |
-
|
34 |
|
35 |
-
|
36 |
|
37 |
-
CMD ["
|
|
|
8 |
RUN pip install --upgrade pip
|
9 |
|
10 |
RUN pip install gradio==4.31.0 gradio[oauth]
|
11 |
+
|
12 |
# Add a new user "bigcodebenchuser"
|
13 |
RUN adduser --disabled-password --gecos "" bigcodebenchuser
|
14 |
|
|
|
31 |
|
32 |
RUN chmod -R 777 /app
|
33 |
|
34 |
+
COPY . $HOME/app
|
35 |
|
36 |
+
USER bigcodebenchuser
|
37 |
|
38 |
+
CMD ["python", "app.py"]
|