Dockerfile: no cache for pip to save space
parent
0629bb98fb
commit
891c385b69
|
@ -3,6 +3,6 @@ FROM alpine:latest
|
||||||
RUN apk add --no-cache python3 py3-lxml py3-gunicorn py3-pip py3-wheel git
|
RUN apk add --no-cache python3 py3-lxml py3-gunicorn py3-pip py3-wheel git
|
||||||
|
|
||||||
ADD . /app
|
ADD . /app
|
||||||
RUN pip3 install /app
|
RUN pip3 install --no-cache-dir /app
|
||||||
|
|
||||||
CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload morss
|
CMD gunicorn --bind 0.0.0.0:8080 -w 4 --preload morss
|
||||||
|
|
Loading…
Reference in New Issue