Loading Dockerfile +2 −1 Original line number Diff line number Diff line FROM python:3.10-slim-bullseye RUN pip install --no-cache-dir gunicorn flask[async] requests RUN pip install --no-cache-dir gunicorn flask[async] RUN apt install -y openssl COPY . /app EXPOSE 8000 WORKDIR /app RUN pip install -r REQUIREMENTS.txt ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8000", "--config", "gunicorn.conf", "app:app"] REQUIREMENTS.txt +2 −1 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ snscrape==0.4.3.20220106 requests switch nest_asyncio cachetools Loading
Dockerfile +2 −1 Original line number Diff line number Diff line FROM python:3.10-slim-bullseye RUN pip install --no-cache-dir gunicorn flask[async] requests RUN pip install --no-cache-dir gunicorn flask[async] RUN apt install -y openssl COPY . /app EXPOSE 8000 WORKDIR /app RUN pip install -r REQUIREMENTS.txt ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8000", "--config", "gunicorn.conf", "app:app"]
REQUIREMENTS.txt +2 −1 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ snscrape==0.4.3.20220106 requests switch nest_asyncio cachetools