feat(alerts): updated all dependencies feat(crons): updated all dependencies feat(chalice): updated base image feat(alerts): updated base image feat(crons): updated base image feat(assist): updated all dependencies feat(sourcemaps-reader): updated all dependencies
25 lines
641 B
Text
25 lines
641 B
Text
FROM python:3.11-alpine
|
|
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
|
|
LABEL Maintainer="KRAIEM Taha Yassine<tahayk2@gmail.com>"
|
|
RUN apk add --no-cache build-base tini
|
|
ARG envarg
|
|
ENV APP_NAME=crons \
|
|
PG_MINCONN=2 \
|
|
PG_MAXCONN=10 \
|
|
PRIVATE_ENDPOINTS=true \
|
|
ENTERPRISE_BUILD=${envarg} \
|
|
ACTION="" \
|
|
PG_POOL=false
|
|
|
|
WORKDIR /work
|
|
COPY requirements-crons.txt ./requirements.txt
|
|
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
COPY . .
|
|
RUN mv env.default .env && mv entrypoint_crons.sh entrypoint.sh
|
|
|
|
RUN adduser -u 1001 openreplay -D
|
|
USER 1001
|
|
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
CMD ./entrypoint.sh
|