sbt-idp/api-cronjob/Dockerfile

12 lines
215 B
Docker

FROM python:3.9-slim
WORKDIR /app
COPY run.py .
COPY requirements.txt .
RUN apt-get update && apt-get -y install curl
RUN pip install -r requirements.txt
RUN pip install requests
CMD [ "python", "-u", "run.py" ]