ikscream / python-http-echo

Another HTTP echo server written on Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 80.0%Language:Dockerfile 20.0%