mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-05 14:55:20 +02:00
optimize caching
This commit is contained in:
parent
21b9f76ebc
commit
80559ecb71
@ -6,16 +6,16 @@ FROM base
|
|||||||
ARG VERSION=local
|
ARG VERSION=local
|
||||||
LABEL version=$VERSION
|
LABEL version=$VERSION
|
||||||
|
|
||||||
|
RUN set -euxo pipefail \
|
||||||
|
; apk add --no-cache libcap \
|
||||||
|
; setcap 'cap_net_bind_service=+ep' /app/venv/bin/gunicorn
|
||||||
|
|
||||||
COPY flavors /data/flavors
|
COPY flavors /data/flavors
|
||||||
COPY templates /data/templates
|
COPY templates /data/templates
|
||||||
COPY static ./static
|
COPY static ./static
|
||||||
COPY server.py ./server.py
|
COPY server.py ./server.py
|
||||||
COPY main.py ./main.py
|
COPY main.py ./main.py
|
||||||
|
|
||||||
RUN set -euxo pipefail \
|
|
||||||
; apk add --no-cache libcap \
|
|
||||||
; setcap 'cap_net_bind_service=+ep' /app/venv/bin/gunicorn
|
|
||||||
|
|
||||||
RUN echo $VERSION >> /version
|
RUN echo $VERSION >> /version
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user