Skip to content

ikscream/python-http-echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image CI

Description

Just another safe-code http echo server written on Python

Build

My build env:

  • Fedora 34 (Linux fedora 5.13.6-200.fc34.x86_64 #1 SMP Wed Jul 28 15:31:21 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux)
  • podman version 3.2.3
podman build .

Run

» podman run -e PORT=2000 --network host -e PORT=8000 --rm -d --name python-http-echo debugger0/python-http-echo:latest
» curl localhost:8000                                                                        
2021-12-30 09:12:50.122309: 127.0.0.1 GET /

Environment

PORT - port to run (default: 8080)

About

Another HTTP echo server written on Python

Resources

Stars

Watchers

Forks