Add a simple script to build resources directory

This directory is used by proxy mode to deploy packages
An nginx configuration example will follow tomorrow.