Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 9 |
novnc \
|
| 10 |
net-tools \
|
| 11 |
scrot \
|
| 12 |
-
dos2unix \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
# Set up work directory
|
|
@@ -21,10 +20,10 @@ COPY . .
|
|
| 21 |
# Install Python requirements
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
RUN chmod +x start.sh
|
| 26 |
|
| 27 |
-
# User settings
|
| 28 |
RUN useradd -m -u 1000 user
|
| 29 |
USER user
|
| 30 |
ENV HOME=/home/user \
|
|
|
|
| 9 |
novnc \
|
| 10 |
net-tools \
|
| 11 |
scrot \
|
|
|
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
| 14 |
# Set up work directory
|
|
|
|
| 20 |
# Install Python requirements
|
| 21 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 22 |
|
| 23 |
+
# FORCE PERMISSIONS: Make the script executable
|
| 24 |
+
RUN chmod +x start.sh
|
| 25 |
|
| 26 |
+
# User settings (Hugging Face requirements)
|
| 27 |
RUN useradd -m -u 1000 user
|
| 28 |
USER user
|
| 29 |
ENV HOME=/home/user \
|