feat(api): removed widget name feat(db): removed widget name feat(api): changed edit dashboard to support list of metrics feat(api): get metrics/widgets cast created_at feat(api): get metrics/widgets cast edited_at feat(api): create dashboard with metrics, support default config feat(api): create dashboard with metrics, support widget position feat(api): edit dashboard with metrics, support default config feat(api): edit dashboard with metrics, support widget position
19 lines
No EOL
530 B
Text
19 lines
No EOL
530 B
Text
FROM python:3.9.10-slim
|
|
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
|
|
LABEL Maintainer="KRAIEM Taha Yassine<tahayk2@gmail.com>"
|
|
WORKDIR /work
|
|
COPY . .
|
|
RUN pip install -r requirements.txt
|
|
RUN mv .env.default .env && mv app_alerts.py app.py
|
|
ENV pg_minconn 2
|
|
ENV APP_NAME alerts
|
|
|
|
# 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 |