Files
vet-print-client/Dockerfile
2026-02-06 16:30:50 +00:00

24 lines
499 B
Docker

FROM python:3.9-slim
# Disable Python output buffering
ENV PYTHONUNBUFFERED=1
# Install system dependencies
RUN apt-get update && apt-get install -y \
fonts-dejavu \
usbutils \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy requirements and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the application
COPY client.py .
COPY templates.py .
# Run the application
CMD ["python", "client.py"]