everybody-mov/Dockerfile

12 lines
318 B
Docker
Raw Normal View History

FROM python:3.10-alpine
2022-09-02 04:17:24 +00:00
WORKDIR /app/
ENV PYTHONIOENCODING=utf-8
2022-09-02 04:17:24 +00:00
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"]