Public Repository

Last pushed: 5 months ago
Short Description
Short description is empty for this repo.
Full Description

Publish image to registry:

https://docs.docker.com/docker-cloud/builds/push-images/

Running locally

docker build --no-cache --tag cdn .
docker run -d -p 3000:3000 cdn

Publishing container

export DOCKER_ID_USER="nbhattarai"

docker login

docker tag kaslejityo-api $DOCKER_ID_USER/cdn

docker push $DOCKER_ID_USER/cdn

Running locally

Your app should now be running:

$ curl 192.168.59.103:3000
Hello World!

Deploying to Arukas

Install the Arukas CLI,

or If you have docker installed already,

docker run --rm -e ARUKAS_JSON_API_TOKEN=63ac5a66-fe6f-4d2a-8969-63c2a539a87e \
                  -e ARUKAS_JSON_API_SECRET=f1608WBWtZB8fkaIl2cOHTmMLKPatVIsjpqgDkXlHLPvaElWv84KGABIRWyl0bC4 \
                    arukasio/arukas run --instances=1 \
                                        --mem=512 \
                                        --ports=3000:tcp cdn


docker run --rm \
      -e ARUKAS_JSON_API_TOKEN="63ac5a66-fe6f-4d2a-8969-63c2a539a87e" \
      -e ARUKAS_JSON_API_SECRET="f1608WBWtZB8fkaIl2cOHTmMLKPatVIsjpqgDkXlHLPvaElWv84KGABIRWyl0bC4" \
          arukasio/arukas run \
              --instances=1 \
              --mem=512 \
              --app-name="kaslejityo-api" \
              --ports=3000:tcp \
                  nbhattarai/cdn
Docker Pull Command
Owner
nbhattarai