Skip to content

badrap/typescript-app-example

Repository files navigation

typescript-app-example

Starting the development containers

Start the development environment with the following command:

docker compose up --build

Development with VSCode

Once Docker Compose is running you can use Visual Studio Code's Remote Development extension pack to automatically attach to the development environment with appropriate VSCode extensions and such.

Install the extension (and other requirements - see "Developing inside a Container").

After this, whenever you open Visual Studio Code in this directory, it should suggest reopening the directory in a container.

The first time opening the directory in a container will take a while, as it installs the dependencies. Subsequent times should be much faster.

When the devcontainer is running the UI for the app is served at http://localhost:4004.

Shutting down the devcontainer

If you want to remove the created containers and their state, run the following command:

docker compose down -v

Building for production

$ docker build -t myapp .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks