mirror of
https://git.juggalol.com/agatha/stockbot-buyvm.git
synced 2024-11-16 20:56:40 +00:00
Dockerize application to run on cronjob
This commit is contained in:
parent
3ee34e37a8
commit
95d481ccc9
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM python:3.10
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY stockbot-buyvm.py /app
|
||||
COPY config.py /app
|
||||
|
||||
CMD ["python", "stockbot-buyvm.py"]
|
Loading…
Reference in New Issue
Block a user