mirror of
https://github.com/R0GGER/iperf3-map.git
synced 2026-11-11 17:29:29 +01:00
18 lines
298 B
Docker
18 lines
298 B
Docker
FROM python:3.9-slim
|
|
|
|
RUN apt-get update && apt-get install -y iperf3 ca-certificates && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 5000
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
CMD ["python", "app.py"]
|
|
|