Compare commits
2 Commits
0278bed4ff
...
a22fa87537
Author | SHA1 | Date | |
---|---|---|---|
a22fa87537 | |||
11d97eee12 |
14
Dockerfile
14
Dockerfile
@ -1,16 +1,16 @@
|
|||||||
FROM python:3.8-slim
|
FROM python:3.8
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git curl libcurl4-openssl-dev build-essential vim libssl-dev
|
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 && \
|
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
|
||||||
ADD . /src
|
WORKDIR /src
|
||||||
RUN pip install /src
|
ADD . /src
|
||||||
|
RUN python /src/setup.py install
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENTRYPOINT ["websuck"]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user