Compare commits
No commits in common. "a22fa875372a153c9375d0b3c5c714bc79e816bc" and "0278bed4ff492c82ac09d9a4fd4477c038262903" have entirely different histories.
a22fa87537
...
0278bed4ff
14
Dockerfile
14
Dockerfile
@ -1,16 +1,16 @@
|
|||||||
FROM python:3.8
|
FROM python:3.8-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git curl libcurl4-openssl-dev build-essential vim libssl-dev python-pip
|
RUN apt-get update && apt-get install -y git curl libcurl4-openssl-dev build-essential vim libssl-dev
|
||||||
|
|
||||||
RUN pip2 install cqlsh
|
|
||||||
|
|
||||||
RUN addgroup appgroup && \
|
RUN addgroup appgroup && \
|
||||||
adduser appuser && adduser appuser appgroup
|
adduser appuser && adduser appuser appgroup
|
||||||
|
|
||||||
RUN mkdir /app /src
|
RUN mkdir /app /src
|
||||||
ADD requirements.txt /src/
|
|
||||||
|
ADD requirements.txt /src
|
||||||
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /src/requirements.txt
|
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /src/requirements.txt
|
||||||
WORKDIR /src
|
ADD . /src
|
||||||
ADD . /src
|
RUN pip install /src
|
||||||
RUN python /src/setup.py install
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
ENTRYPOINT ["websuck"]
|
||||||
|
Loading…
Reference in New Issue
Block a user