mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	cleanup
This commit is contained in:
		| @@ -13,6 +13,7 @@ ARG BUILD_DATE | ||||
|  | ||||
| ENV SUPPRESS_NO_CONFIG_WARNING=1 | ||||
| ENV S6_FIX_ATTRS_HIDDEN=1 | ||||
| ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=1 | ||||
| ENV NODE_ENV=production | ||||
|  | ||||
| RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \ | ||||
| @@ -31,7 +32,6 @@ EXPOSE 80 | ||||
| EXPOSE 81 | ||||
| EXPOSE 443 | ||||
|  | ||||
| COPY docker/rootfs      / | ||||
| ADD backend             /app | ||||
| ADD frontend/dist       /app/frontend | ||||
| COPY global             /app/global | ||||
| @@ -39,6 +39,9 @@ COPY global             /app/global | ||||
| WORKDIR /app | ||||
| RUN yarn install | ||||
|  | ||||
| # add late to limit cache-busting by modifications | ||||
| COPY docker/rootfs      / | ||||
|  | ||||
| # Remove frontend service not required for prod, dev nginx config as well | ||||
| RUN rm -rf /etc/services.d/frontend RUN rm -f /etc/nginx/conf.d/dev.conf | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user