mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-18 02:54:03 +02:00
Preload requirements file
Due tot he fact version pinning is in use, there's no point in reinstalling deps each build. Instead copy everything after dep install to increase caching
This commit is contained in:
@@ -18,8 +18,8 @@ ENV IS_IN_DOCKER 1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
COPY ./docker/requirements.txt ./docker/requirements.txt
|
||||
RUN pip install --no-cache-dir -r docker/requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
|
||||
Reference in New Issue
Block a user