websucker-pip/Dockerfile
2021-10-15 09:22:14 +02:00

17 lines
425 B
Docker

FROM python:3.8
RUN apt-get update && apt-get install -y git curl libcurl4-openssl-dev build-essential vim libssl-dev python-pip
RUN pip2 install cqlsh
RUN addgroup appgroup && \
adduser appuser && adduser appuser appgroup
RUN mkdir /app /src
ADD requirements.txt /src/
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /src/requirements.txt
WORKDIR /src
ADD . /src
RUN python /src/setup.py install
WORKDIR /app