1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-17 01:32:29 +02:00

No need for two commands here

This commit is contained in:
Florent Daigniere
2022-12-07 15:51:54 +01:00
committed by GitHub
parent 0209825277
commit dfaba5bb17

View File

@ -80,8 +80,7 @@ FROM system
COPY --from=build /app/venv/ /app/venv/
COPY --chown=root:root --from=build /app/snuffleupagus.so /usr/lib/php81/modules/
RUN setcap 'cap_net_bind_service=+ep' /app/venv/bin/gunicorn \
; setcap 'cap_net_bind_service=+ep' /usr/bin/python3.10
RUN setcap 'cap_net_bind_service=+ep' /app/venv/bin/gunicorn 'cap_net_bind_service=+ep' /usr/bin/python3.10
ENV VIRTUAL_ENV=/app/venv
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"