openreplay/ee/api/Dockerfile_crons
Kraiem Taha Yassine 78416fdbac
Dev (#2757)
* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* build(alerts): changed Dockerfile
build(crons): changed Dockerfile
2024-11-18 12:18:02 +01:00

26 lines
697 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 uv
RUN uv pip install --no-cache-dir --upgrade -r requirements.txt --system
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