Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.04 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.04 KB

This is your newly scaffolded Backstage App, Good Luck!

To start the app, run:

yarn install --frozen-lockfile
yarn dev

Run it on Docker

Prepare images for inside, first build the base images:

  • Builer image is the base image for building inside
  • Runtime image is the base image for running the app
docker image build . -f Dockerfile --target build --tag backstage_builder --no-cache
docker image build . -f Dockerfile --tag backstage_runtime_base

This will build two images, one for building the app, and one for running it.

To save the built images execute:

docker save backstage_builder -o ../backstage_builder.tar
docker save backstage_runtime_base -o ../backstage_runtime_base.tar

Load the images inside:

docker load --input backstage_builder.tar
docker load --input backstage_runtime_base.tar

To build the final runtime image, run:

docker image build . -f Dockerfile.Wrapper --no-cache --tag backstage_runtime 
docker run -p 7007:7007 backstage_runtime