I have to make a Dockerfile to build my decentraland world in a docker container. This requires to install the dcl package on NPM, and to do this on our company network with our company mirror for npm.
The issue is that the decentraland package have a dependency with a fixed URL and I can't reach it from the network for security reasons.
From the Package.json (issue on @dcl/protocol):
"dependencies": {
"@dcl/crypto": "^3.0.1",
"@dcl/ecs-scene-utils": "^1.7.5",
"@dcl/linker-dapp": "^0.8.0",
"@dcl/mini-comms": "1.0.0",
"@dcl/protocol": "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-3130782694.commit-94713ab.tgz",
I tried to make a sidecar docker container with a web server that would serve this file. Then I thought I would modify the host file to redirect the traffic from sdk-team-cdn.decentraland.org to this docker, but I'm getting issues with the flows and the ports.
There should be an easier way.