websucker-pip/Dockerfile

17 lines
533 B
Docker
Raw Permalink Normal View History

2023-02-26 13:10:58 +00:00
FROM debian:11
2020-05-10 09:48:17 +00:00
2023-02-26 13:10:58 +00:00
RUN apt-get update && apt-get install -y git curl libcurl4-openssl-dev build-essential vim libssl-dev python2 python-dev wget python3 python3-pip
RUN wget https://bootstrap.pypa.io/pip/2.7/get-pip.py && python2 get-pip.py
RUN python2 -m pip install cqlsh
2021-10-14 12:46:56 +00:00
2021-01-20 12:54:02 +00:00
RUN addgroup appgroup && \
adduser appuser && adduser appuser appgroup
2020-05-10 09:48:17 +00:00
2021-10-14 12:46:56 +00:00
RUN mkdir /app /src
2021-10-15 07:22:14 +00:00
ADD requirements.txt /src/
2023-02-26 13:10:58 +00:00
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip3 install -r /src/requirements.txt
2021-10-15 07:22:14 +00:00
WORKDIR /src
ADD . /src
2023-02-26 13:10:58 +00:00
RUN pip3 install /src/
2020-05-11 14:43:39 +00:00
WORKDIR /app