-
Build the image
docker build -t imagename . -f Local.Dockerfile
-
Finally, run your docker image
docker run -p 3000:3000 --name appname -d imagename
Ensure that your Dockerfile is the Production Dockerfile, check line 1 of both Dockerfiles to confirm.
-
Login to your registry
docker login registry.example.com
-
Add image to your registry
docker build -t registry.example.com/appname
docker push -t registry.example.com/appname
-
Pull image from your registry
docker pull registry.example.com/appname
-
Finally, run your docker image
docker run --network host --name appname -d registry.example.com/appname
For Any Help Reach out to Hakim Zulkhibri, the man behind dockerizing this project.
Example of Linkees running on Docker here.