https://github.com/jbilcke-hf/template-node-express
A minimalist Docker project to get started with Node and Express. Ready to be used in a Hugging Face Space.
https://github.com/jbilcke-hf/template-node-express
docker express huggingface-spaces nodejs
Last synced: about 1 year ago
JSON representation
A minimalist Docker project to get started with Node and Express. Ready to be used in a Hugging Face Space.
- Host: GitHub
- URL: https://github.com/jbilcke-hf/template-node-express
- Owner: jbilcke-hf
- License: apache-2.0
- Created: 2023-06-20T13:34:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-21T09:36:06.000Z (about 3 years ago)
- Last Synced: 2025-04-22T23:04:39.739Z (about 1 year ago)
- Topics: docker, express, huggingface-spaces, nodejs
- Language: Dockerfile
- Homepage: https://huggingface.co/spaces/jbilcke-hf/template-node-express
- Size: 14.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
---
title: Template Node Express
emoji: 🏗️
colorFrom: gray
colorTo: blue
sdk: docker
pinned: false
app_port: 7860
---
A minimalist Docker Space to help people getting started with Node, Express and TypeScript
## Installation
### Prerequisites
- Install NVM: https://github.com/nvm-sh/nvm
- Install Docker https://www.docker.com
### Building and run without Docker
```bash
nvm use
npm i
npm run start
```
### Building and running with Docker
```bash
npm run docker
```
This script is a shortcut executing the following commands:
```bash
docker build -t template-node-express .
docker run -it -p 7860:7860 template-node-express
```