[24.02.20] Instead of copying do git clone

This commit is contained in:
andrewso 2020-02-24 11:49:18 +00:00
parent 69adcd655a
commit 41742a0363

View File

@ -1,9 +1,9 @@
FROM python:3.7-alpine
MAINTAINER Andrew Sotheran <cryptosky.user@gmail.com>
RUN apk update && \
apk add py-pip libc-dev gcc
apk add py-pip libc-dev gcc git
RUN pip install utils pycryptodome && \
pip install python-env coinbase
COPY /* /home/price-collector/
RUN git clone https://github.com/andyjk15/price-collector.git
EXPOSE 9090
CMD ["python", "/home/price-collector/main.py"]
CMD ["python", "/home/price-collector/src/main.py"]