services
build-and-push / detect (push) Successful in 7s
build-and-push / build (${{ fromJSON(needs.detect.outputs.services) }}) (push) Failing after 3m33s

This commit is contained in:
2026-08-26 11:04:23 +03:00
parent 4bd1512994
commit c231be0094
1424 changed files with 1076244 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM python:3.9-alpine
WORKDIR /app
ADD requirements.txt .
RUN pip3 install -r requirements.txt
ADD static.py .
ENTRYPOINT ["python3", "static.py"]
+3
View File
@@ -0,0 +1,3 @@
flask==2.0.2
requests
Werkzeug==2.2.2
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python3
from flask import Flask, send_file
app = Flask(__name__)
static_node_port = 5001
@app.route('/img/<name>')
def img(name):
return send_file(f'files/static/img/{name}')
@app.route('/css/<name>')
def css(name):
return send_file(f'files/static/css/{name}')
@app.route('/fonts/<name>')
def fonts(name):
return send_file(f'files/static/fonts/{name}')
@app.route('/js/<name>')
def js(name):
return send_file(f'files/static/js/{name}')
if __name__ == '__main__':
app.run(host="0.0.0.0", port=static_node_port)