Skip to content

Commit

Permalink
࿓❯ do: Updated config and requirements.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Victor-ray, S <owl@zendai.net.eu.org>
  • Loading branch information
victor-rays committed Mar 3, 2024
1 parent 147814f commit 33c165d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
# Author § Victor-ray, S.
FROM sanicframework/sanic:LTS
FROM sanicframework/sanic:lts-py3.11
COPY ./server.py ./requirements.txt /srv/
RUN pip install --no-cache --upgrade pip; pip install --no-cache -r /srv/requirements.txt
EXPOSE 8080
Expand Down
20 changes: 11 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
aiofiles==22.1.0
httptools==0.5.0
multidict==6.0.4
sanic==22.9.1
sanic-routing==22.8.0
sockets==1.0.0
ujson==5.6.0
uvloop==0.17.0
websockets==10.4
aiofiles==23.2.1
html5tagger==1.3.0
httptools==0.6.1
multidict==6.0.5
sanic==23.12.1
sanic-routing==23.12.0
tracerite==1.1.1
typing_extensions==4.10.0
ujson==5.9.0
uvloop==0.19.0
websockets==12.0
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import ipaddress
import socket

app = Sanic("portcheck")
app = Sanic("checkport")
app.config.REAL_IP_HEADER = "Fly-Client-IP"

@app.route('/<path:path>')
Expand Down

0 comments on commit 33c165d

Please sign in to comment.