Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 639 Bytes

docker-build.md

File metadata and controls

28 lines (18 loc) · 639 Bytes

Dockerization

Building the image (Development Env)

docker build -f Dockerfile-prod -t hypersignprotocol/studio-client:test .
  • This will build the container for dev env.

Building the image (Production Env)

  • At first run mv .env.staging .env.
  • Now configure appTitle, appDescription etc.
  • Run the docker build to build the image
docker build -f Dockerfile-prod -t hypersignprotocol/studio-client:prod .
  • This will build the container for prod env on the Nginx server.

Running the container (Production Env)

docker run  -p 9001:80 --rm hypersignprotocol/studio-client:prod