Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,12 @@
|
|
| 1 |
FROM heartexlabs/label-studio:hf-latest
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
RUN apt-get update && apt-get install -y git
|
|
|
|
|
|
|
|
|
|
| 3 |
################################################################################
|
| 4 |
#
|
| 5 |
# How to Disable Public Account Creation
|
|
|
|
| 1 |
FROM heartexlabs/label-studio:hf-latest
|
| 2 |
+
# 1. Switch to root to have permission to install things
|
| 3 |
+
USER root
|
| 4 |
+
|
| 5 |
+
# 2. Install git
|
| 6 |
RUN apt-get update && apt-get install -y git
|
| 7 |
+
|
| 8 |
+
# 3. Switch back to the standard Label Studio user (User ID 1001)
|
| 9 |
+
USER 1001
|
| 10 |
################################################################################
|
| 11 |
#
|
| 12 |
# How to Disable Public Account Creation
|