File: README.md

package info (click to toggle)
python-trame 3.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Trame app with custom endpoint

This allow you to register special HTTP endpoint for your app.
While it works by default locally, when using docker bundling, you need to add special handling.

## Run locally without docker

```bash
python ./app.py
```

## Build the image

```bash
docker build -t trame-app-api .
```

## Run the image on port 8080

```bash
docker run -it --rm -p 8080:80 trame-app-api
```