Wget / Dockerfile
soxogvv's picture
Update Dockerfile
653ac84 verified
raw
history blame contribute delete
337 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system deps
RUN apt update && apt install -y wget && rm -rf /var/lib/apt/lists/*
# Copy requirements first (Docker cache optimization)
COPY requirements.txt .
# Install Python deps
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
CMD ["python", "app.py"]