Merge pull request #3044 from 6twenty/2741-suppress-s6-supervise-disk-writes

Fix #2741 - Prevent excessive disk writes by only adding frontend service when in development
This commit is contained in:
jc21 2023-07-19 13:09:12 +10:00 committed by GitHub
commit f91f0ee8db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ RUN yarn install \
COPY docker/rootfs /
# Remove frontend service not required for prod, dev nginx config as well
RUN rm -rf /etc/services.d/frontend /etc/nginx/conf.d/dev.conf \
RUN rm -rf /etc/s6-overlay/s6-rc.d/user/contents.d/frontend /etc/nginx/conf.d/dev.conf \
&& chmod 644 /etc/logrotate.d/nginx-proxy-manager \
&& pip uninstall --yes setuptools \
&& pip install --no-cache-dir "setuptools==58.0.0"