everybody-mov/Dockerfile

12 lines
318 B
Docker
Raw Permalink Normal View History

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"]