Initial commit of my old Twitter bot (that still runs)

This commit is contained in:
2022-08-26 05:22:51 +00:00
commit 23422f0ffd
9 changed files with 513 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.10-alpine
WORKDIR /app
ENV PYTHONIOENCODING=utf-8
COPY Pipfile Pipfile.lock everybody.txt tweetbot.py /app
# Install pipenv and compilation dependencies
RUN pip install pipenv && pipenv install --deploy --ignore-pipfile
# Run the application
ENTRYPOINT ["pipenv", "run", "python3", "./tweetbot.py"]