17 lines
315 B
Docker
17 lines
315 B
Docker
FROM python:3.11-slim
|
|
|
|
# Install curl, wget and other utilities
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
wget \
|
|
jq \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Python requests library
|
|
RUN pip install --no-cache-dir requests
|
|
|
|
WORKDIR /app
|
|
|
|
# The init script will be mounted
|
|
CMD ["/bin/bash"]
|