Supageusu / Dockerfile
TensorGuy01's picture
Update Dockerfile
3dcea1c verified
Raw History Blame Contribute Delete
480 Bytes
# Use a slim official Python base image
FROM python:3.10-slim
# Install required system packages (optional: for time zone or curl debugging)
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install --no-cache-dir requests
# Copy the speed test script into the container
COPY speedtest.py /app/speedtest.py
# Set working directory
WORKDIR /app
# Run the script on container start
CMD ["python", "speedtest.py"]