Skip to content
Commits on Source (3)
......@@ -4,11 +4,8 @@ repos:
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
......@@ -55,11 +52,6 @@ repos:
hooks:
- id: mdformat
- repo: https://github.com/shellcheck-py/shellcheck-py.git
rev: v0.7.2.1
hooks:
- id: shellcheck
- repo: https://github.com/AleksaC/hadolint-py.git
rev: v2.8.0
hooks:
......
FROM registry.hub.docker.com/library/python:3.9-alpine3.14
FROM registry.hub.docker.com/library/python:3.10-alpine3.15
WORKDIR /app
COPY requirements.txt ./
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY * ./
EXPOSE 8080
ENV FORWARDED_ALLOW_IPS "*"
......
......@@ -3,10 +3,10 @@
import json
import os
import docker
from flask import Flask, request
app = Flask(__name__)
client = docker.from_env()
......