NitinBot001 commited on
Commit
bb6f429
·
verified ·
1 Parent(s): bd10444

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -3,9 +3,9 @@ FROM python:3.11-slim
3
  WORKDIR /app
4
 
5
  # Install system dependencies
6
- RUN apt-get update && apt-get install -y \\
7
- build-essential \\
8
- curl \\
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Copy requirements first for better caching
@@ -23,7 +23,7 @@ RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
23
  USER appuser
24
 
25
  # Health check
26
- HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \\
27
  CMD curl -f http://localhost:7860/health || exit 1
28
 
29
  EXPOSE 7860
 
3
  WORKDIR /app
4
 
5
  # Install system dependencies
6
+ RUN apt-get update && apt-get install -y \
7
+ build-essential \
8
+ curl \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Copy requirements first for better caching
 
23
  USER appuser
24
 
25
  # Health check
26
+ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
27
  CMD curl -f http://localhost:7860/health || exit 1
28
 
29
  EXPOSE 7860