FROM python:3.8-slim RUN apt-get update && apt-get install -y git curl libcurl4-openssl-dev build-essential vim libssl-dev 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 ADD . /src RUN pip install /src WORKDIR /app ENTRYPOINT ["websuck"]