Sign inSign up

aeffb2d/ts-api

By aeffb2d

•Updated almost 3 years ago

Simple TypeScript API image

Image
0

93

aeffb2d/ts-api repository overview

⁠Docker Image Documentation: ts-api

⁠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

  1. Getting Started⁠

  2. Configuration⁠

  3. Usage⁠

  4. Extending the Image⁠

  5. Contributing⁠

  6. 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 <external-port>: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

# Add your custom configurations and dependencies here

⁠Contributing

If you would like to contribute to this project, please follow our contribution guidelines⁠.

⁠License

This project is licensed under the MIT License⁠.


Tag summary

Content type

Image

Digest

sha256:bea5704e4…

Size

396.5 MB

Last updated

almost 3 years ago

docker pull aeffb2d/ts-api:1.0.0