The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342110 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342111 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342112 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342114 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342115
12 lines
515 B
Docker
12 lines
515 B
Docker
FROM python:3.9.8-alpine
|
|
MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com>
|
|
RUN apk update && \
|
|
apk add py-pip libc-dev gcc
|
|
RUN python -m pip install --upgrade pip
|
|
RUN pip install utils pycryptodome && \
|
|
pip install python-dotenv schedule tweepy stomp.py python-json-logger nltk emoji flask && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
COPY . /home/tweet-collector/.
|
|
RUN python3 /home/tweet-collector/configuration/scripts/nltk_package_downloads.py
|
|
EXPOSE 9090
|
|
CMD ["python", "/home/tweet-collector/src/main.py"] |