Update Dockerfile
Browse files- 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
|
| 9 |
COPY requirements.txt .
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
-
# Copy
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
-
# Ensure
|
| 16 |
RUN chmod +x start.sh
|
| 17 |
|
| 18 |
-
#
|
| 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"]
|