mgbam commited on
Commit
1631882
·
verified ·
1 Parent(s): be60023

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -5,15 +5,15 @@ WORKDIR /code
5
  # Install Redis
6
  RUN apt-get update && apt-get install -y redis && rm -rf /var/lib/apt/lists/*
7
 
8
- # Copy and install Python deps
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
- # Copy all source files
13
  COPY . .
14
 
15
- # Ensure start.sh is executable
16
  RUN chmod +x start.sh
17
 
18
- # Default to start.sh
19
  ENTRYPOINT ["./start.sh"]
 
5
  # Install Redis
6
  RUN apt-get update && apt-get install -y redis && rm -rf /var/lib/apt/lists/*
7
 
8
+ # Copy & install Python dependencies
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
+ # Copy application files
13
  COPY . .
14
 
15
+ # Ensure the startup script is executable
16
  RUN chmod +x start.sh
17
 
18
+ # Launch everything via start.sh
19
  ENTRYPOINT ["./start.sh"]