Build and Run on different machine?

I want to build in machineA , then commit Docker image , run it on machineB .
MachineB in China, there are many network error when build on machineB.
So I want to build it on HK machineA,then run it on machineB

1 Like

You can do that.

Bootstrap the image
Push to a repo
Launch it

There is a launcher command that will give you the docker command to start the container. (It’s ./launcher start-cmd)

You still need to do stuff like precompile assets and migrate the database.

3 Likes

I got it.Thanks dude.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.