mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-26 07:16:13 +00:00
Tweaking build size thanks to https://github.com/hadolint/hadolint
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
FROM python:3.8-slim
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN apt-get update && apt-get install -y gcc libc-dev libxslt-dev zlib1g-dev g++
|
||||
RUN apt-get update && apt-get install -y gcc libc-dev libxslt-dev zlib1g-dev g++ --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install -r /tmp/requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
|
||||
RUN [ ! -d "/app" ] && mkdir /app
|
||||
|
||||
Reference in New Issue
Block a user