This commit is contained in:
Daniel Hládek 2021-01-20 13:53:38 +01:00
parent adfe77be24
commit 92b9f8d489

View File

@ -5,10 +5,10 @@ RUN apk add --update --no-cache git curl curl-dev vim py3-lxml gcc make libxml2-
RUN addgroup -S appgroup -g 1000 && \
adduser -u 1000 -S appuser -G appgroup
RUN mkdir /app
RUN mkdir /app /src
ADD requirements.txt /
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /requirements.txt
RUN pip install https://git.kemt.fei.tuke.sk/dano/websucker-pip/archive/master.zip
ADD . /src
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /src/requirements.txt
RUN pip install /src
WORKDIR /app
ENTRYPOINT ["websuck"]