price-collector/Dockerfile
snyk-bot 9e10ce99e7
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE314-UTILLINUX-1912784
2021-11-12 04:48:20 +00:00

10 lines
396 B
Docker

FROM python:3.11.0a2-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 coinbase flask schedule numpy stomp.py python-json-logger
COPY . /home/price-collector/.
EXPOSE 9090
CMD ["python", "/home/price-collector/src/main.py"]