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
35
35
COPY global /app/global
36
36
37
37
WORKDIR /app
38
- RUN yarn install
38
+ RUN yarn install \
39
+ && yarn cache clean
39
40
40
41
# add late to limit cache-busting by modifications
41
42
COPY docker/rootfs /
42
43
43
44
# 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"
53
49
54
50
VOLUME [ "/data" , "/etc/letsencrypt" ]
55
51
ENTRYPOINT [ "/init" ]
You can’t perform that action at this time.
0 commit comments