Fix Alpine 3.19 dependencies

This commit is contained in:
DerLinkman 2024-01-08 12:07:22 +01:00
parent 5896766fc3
commit 333b7ebc0c
No known key found for this signature in database
GPG Key ID: F109FD97469550A2
3 changed files with 5 additions and 3 deletions

View File

@ -10,12 +10,13 @@ RUN apk add --update --no-cache python3 \
openssl \
tzdata \
py3-psutil \
py3-redis \
py3-async-timeout \
&& pip3 install --upgrade pip \
fastapi \
uvicorn \
aiodocker \
docker \
aioredis
docker
RUN mkdir /app/modules
COPY docker-entrypoint.sh /app/

View File

@ -5,13 +5,13 @@ import json
import uuid
import async_timeout
import asyncio
import aioredis
import aiodocker
import docker
import logging
from logging.config import dictConfig
from fastapi import FastAPI, Response, Request
from modules.DockerApi import DockerApi
from redis import asyncio as aioredis
dockerapi = None
app = FastAPI()

View File

@ -15,6 +15,7 @@ RUN apk add --virtual .build-deps \
openssl-dev \
&& apk add -U python3 \
iptables \
iptables-dev \
ip6tables \
xtables-addons \
nftables \