GitHub Actions commited on
Commit
ebf7c5c
·
1 Parent(s): 596b826

Deploy 7bbab95

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -9,6 +9,11 @@ WORKDIR /app
9
  ENV PYTHONDONTWRITEBYTECODE=1 \
10
  PYTHONUNBUFFERED=1
11
 
 
 
 
 
 
12
  # Install dependencies first for better Docker layer caching.
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
 
9
  ENV PYTHONDONTWRITEBYTECODE=1 \
10
  PYTHONUNBUFFERED=1
11
 
12
+ # git is required for pip to install the toon_format VCS dependency.
13
+ # Installed before the pip layer so it is cached alongside system deps.
14
+ RUN apt-get update && apt-get install -y --no-install-recommends git \
15
+ && rm -rf /var/lib/apt/lists/*
16
+
17
  # Install dependencies first for better Docker layer caching.
18
  COPY requirements.txt .
19
  RUN pip install --no-cache-dir -r requirements.txt