The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342160 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342162 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342163 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342164 - https://snyk.io/vuln/SNYK-ALPINE315-EXPAT-2342165
12 lines
428 B
Docker
12 lines
428 B
Docker
FROM python:3.9-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 flask python-json-logger vaderSentiment && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
COPY . /home/sentiment-analyser/.
|
|
EXPOSE 9090
|
|
EXPOSE 9091
|
|
CMD ["python", "/home/sentiment-analyser/src/main.py"] |