SalHargis commited on
Commit
84c86ea
·
verified ·
1 Parent(s): 5714937

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # CRITICAL FIX: Fix permissions and line endings for start.sh
25
- RUN chmod +x start.sh && dos2unix 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 \