Files
autopkg/Dockerfile

13 lines
178 B
Docker

FROM python:alpine
ENV APKG_IS_DOCKER=true
WORKDIR /app
COPY . .
RUN crontab docker/5autopkg
RUN pip install --no-cache-dir -r requirements.txt
CMD python main.py; crond -f