This is a template for a Dockerized Typescript project.
Provides reliable and reproducible development and deployment environments.
- Typescript
- Node.js
- Pnpm
- Tsx for development
run:
docker compose -f docker-compose.dev.yml up
^ This will start the container and run the development server, it will also watch for changes in the source code.
if there are any changes in package.json, run:
docker compose -f docker-compose.dev.yml up --build
To build image, run:
docker compose build
To run the container, run:
docker-compose up
To stop the container, run:
docker-compose down