websucker-pip/Dockerfile
2021-01-20 13:54:47 +01:00

17 lines
394 B
Docker

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"]