Dockerize application to run on cronjob

This commit is contained in:
agatha 2023-12-02 16:23:11 -05:00
parent 3ee34e37a8
commit 95d481ccc9
2 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View 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"]