Overview ts-api is a Docker image that provides a lightweight and ready-to-use environment for running a simple TypeScript API.
Table of Contents Getting Started
Prerequisites Installation Quick Start Configuration
Environment Variables Ports Usage
Running the Container Example Extending the Image
Contributing
License
Getting Started Prerequisites Docker installed on your system. You can download it hereā . Installation Pull the latest version of the image from Docker Hub:
docker pull aeffb2d/ts-api:1.0.0 Quick Start Run a simple TypeScript API container:
docker run -p 8080:4000 aeffb2d/ts-api:1.0.0 Configuration Environment Variables ENV_VARIABLE_NAME: Description of the environment variable (Optional). Ports 4000: Default port for the TypeScript API. Usage Running the Container docker run -p :4000 aeffb2d/ts-api:1.0.0 Example docker run -p 8080:4000 aeffb2d/ts-api:1.0.0 Visit http://localhost:8080ā in your browser to access the API.
Extending the Image If you need to customize or extend this image, you can create a new Dockerfile:
FROM aeffb2d/ts-api:1.0.0
Contributing If you would like to contribute to this project, please follow our contribution guidelines.
License This project is licensed under the MIT License.
Content type
Image
Digest
sha256:c79f571e9ā¦
Size
388.9 MB
Last updated
about 2 years ago
docker pull phatanut/ts-api-push:1.0.0