You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
335 B

  1. FROM python:3.11-bookworm
  2. RUN apt update && apt install -y tini ca-certificates && \
  3. apt-get clean && \
  4. rm -rf /var/lib/apt/lists/*
  5. WORKDIR /uploader
  6. COPY requirements.txt .
  7. RUN pip install -r requirements.txt
  8. COPY main.py .
  9. COPY progress.py .
  10. STOPSIGNAL SIGINT
  11. ENTRYPOINT [ "/usr/bin/tini-static", "--", "/uploader/main.py" ]