feat(api): fixed EE-SAML dependency build issue (#95)

This commit is contained in:
Kraiem Taha Yassine 2021-07-15 13:09:57 +02:00 committed by GitHub
parent f26c97f7a3
commit 276e2efe18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
ee/api/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:3.6-slim
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
RUN apt-get update && apt-get install -y pkg-config libxmlsec1-dev gcc && rm -rf /var/lib/apt/lists/*
WORKDIR /work
COPY . .
RUN pip install -r requirements.txt -t ./vendor --upgrade
RUN pip install chalice==1.22.2
# Add Tini
# Startup daemon
ENV TINI_VERSION v0.19.0
ARG envarg
ENV ENTERPRISE_BUILD ${envarg}
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
CMD ./entrypoint.sh