initial commit
This commit is contained in:
commit
7edf451e2e
6 changed files with 200 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM python:slim
|
||||
|
||||
RUN mkdir /app
|
||||
RUN mkdir /data
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN apt update -y
|
||||
RUN apt install -y cron
|
||||
COPY crontab .
|
||||
RUN crontab crontab
|
||||
|
||||
COPY main.py .
|
Loading…
Add table
Add a link
Reference in a new issue