File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,17 @@ COPY frontend/dist /app/frontend
3535COPY global /app/global
3636
3737WORKDIR /app
38- RUN yarn install
38+ RUN yarn install \
39+ && yarn cache clean
3940
4041# add late to limit cache-busting by modifications
4142COPY docker/rootfs /
4243
4344# Remove frontend service not required for prod, dev nginx config as well
44- RUN rm -rf /etc/services.d/frontend /etc/nginx/conf.d/dev.conf
45-
46- # Change permission of logrotate config file
47- RUN chmod 644 /etc/logrotate.d/nginx-proxy-manager
48-
49- # fix for pip installs
50- # https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1769
51- RUN pip uninstall --yes setuptools \
52- && pip install "setuptools==58.0.0"
45+ RUN rm -rf /etc/services.d/frontend /etc/nginx/conf.d/dev.conf \
46+ && chmod 644 /etc/logrotate.d/nginx-proxy-manager \
47+ && pip uninstall --yes setuptools \
48+ && pip install --no-cache-dir "setuptools==58.0.0"
5349
5450VOLUME [ "/data" , "/etc/letsencrypt" ]
5551ENTRYPOINT [ "/init" ]
You can’t perform that action at this time.
0 commit comments