sbt-idp/api-cronjob/Dockerfile

12 lines
215 B
Docker
Raw Normal View History

2024-02-06 03:14:44 +00:00
FROM python:3.9-slim
WORKDIR /app
2024-03-04 08:38:38 +00:00
COPY run.py .
2024-07-17 10:45:12 +00:00
COPY requirements.txt .
2024-02-06 03:14:44 +00:00
RUN apt-get update && apt-get -y install curl
2024-07-17 10:45:12 +00:00
RUN pip install -r requirements.txt
2024-03-04 08:38:38 +00:00
RUN pip install requests
2024-02-06 03:14:44 +00:00
2024-03-04 08:38:38 +00:00
CMD [ "python", "-u", "run.py" ]