openreplay/api/Dockerfile.alerts
Kraiem Taha Yassine d74a82383d
v1.7.0 enhanced (#606)
* feat(assist): changed Dockerfile

* feat(assist): changed Dockerfile

* feat(assist): changed Dockerfile

* feat(assist): changed lock file

* feat(assist): changed Dockerfile

* feat(chalice): return role name after update user

* feat(chalice): changed sessions search

* feat(chalice): changed sessions search

* feat(chalice): changed Dockerfile
feat(chalice): changed entrypoint
feat(alerts): changed Dockerfile
feat(alerts): changed entrypoint

* feat(assist): handle null uws payload

* feat(crons): fixed coroutine

* feat(chalice): optimize get projects
2022-07-13 22:40:29 +02:00

19 lines
No EOL
560 B
Text

FROM python:3.10-alpine
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
LABEL Maintainer="KRAIEM Taha Yassine<tahayk2@gmail.com>"
RUN apk add --no-cache tini
ARG envarg
ENV APP_NAME=alerts \
pg_minconn=2 \
pg_maxconn=10 \
ENTERPRISE_BUILD=${envarg}
COPY requirements.txt /work_tmp/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /work_tmp/requirements.txt
WORKDIR /work
COPY . .
RUN mv env.default .env && mv app_alerts.py app.py && mv entrypoint_alerts.sh entrypoint.sh
ENTRYPOINT ["/sbin/tini", "--"]
CMD ./entrypoint.sh