Commit 74f14150 authored by thetechrobo's avatar thetechrobo
Browse files

Fix Docker

parent bf080a05
Loading
Loading
Loading
Loading
+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"]
+2 −1
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@ snscrape==0.4.3.20220106
requests
switch
nest_asyncio
cachetools