Naveen-2007 commited on
Commit
dc84587
·
1 Parent(s): efe010f

Fix: dos2unix for line endings in start.sh

Browse files
Files changed (1) hide show
  1. Dockerfile.render +3 -2
Dockerfile.render CHANGED
@@ -5,6 +5,7 @@ WORKDIR /app
5
  # Install system dependencies
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  curl \
 
8
  && rm -rf /var/lib/apt/lists/* \
9
  && apt-get clean
10
 
@@ -19,8 +20,8 @@ COPY . .
19
  # Create workspace directories
20
  RUN mkdir -p /app/workspace_data /app/chroma_db
21
 
22
- # Make startup script executable
23
- RUN chmod +x /app/start.sh
24
 
25
  # Render requires port 10000
26
  EXPOSE 10000
 
5
  # Install system dependencies
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  curl \
8
+ dos2unix \
9
  && rm -rf /var/lib/apt/lists/* \
10
  && apt-get clean
11
 
 
20
  # Create workspace directories
21
  RUN mkdir -p /app/workspace_data /app/chroma_db
22
 
23
+ # Fix line endings and make startup script executable
24
+ RUN dos2unix /app/start.sh && chmod +x /app/start.sh
25
 
26
  # Render requires port 10000
27
  EXPOSE 10000