Compare commits
2 Commits
0278bed4ff
...
a22fa87537
Author | SHA1 | Date | |
---|---|---|---|
a22fa87537 | |||
11d97eee12 |
12
Dockerfile
12
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 && \
|
||||
adduser appuser && adduser appuser appgroup
|
||||
|
||||
RUN mkdir /app /src
|
||||
|
||||
ADD requirements.txt /src
|
||||
ADD requirements.txt /src/
|
||||
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /src/requirements.txt
|
||||
WORKDIR /src
|
||||
ADD . /src
|
||||
RUN pip install /src
|
||||
RUN python /src/setup.py install
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["websuck"]
|
||||
|
Loading…
Reference in New Issue
Block a user