* refactor(chalice): upgraded dependencies refactor(crons): upgraded dependencies refactor(alerts): upgraded dependencies * fix(chalice): fixed boarding * fix(chalice): fixed assign session * refactor(assist-stats): upgraded dependencies * fixed(assist-stats): fixed import issue * fix(chalice): changed env vars * fix(chalice): fixed search sessions for EE
27 lines
675 B
Docker
27 lines
675 B
Docker
FROM python:3.12-alpine
|
|
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
|
|
LABEL Maintainer="Shekar Sirikonda<sshekarsiri@gmail.com>"
|
|
ARG GIT_SHA
|
|
LABEL GIT_SHA=$GIT_SHA
|
|
|
|
ARG envarg
|
|
# Add Tini
|
|
# Startup daemon
|
|
ENV APP_NAME=assist-stats \
|
|
ENTERPRISE_BUILD=${envarg} \
|
|
GIT_SHA=$GIT_SHA
|
|
|
|
WORKDIR /work
|
|
COPY requirements.txt ./requirements.txt
|
|
RUN pip install --no-cache-dir --upgrade uv
|
|
RUN uv pip install --no-cache-dir --upgrade pip setuptools wheel --system
|
|
RUN uv pip install --no-cache-dir --upgrade -r requirements.txt --system
|
|
|
|
COPY . .
|
|
RUN mv env.default .env
|
|
|
|
RUN adduser -u 1001 openreplay -D
|
|
USER 1001
|
|
|
|
EXPOSE 8000
|
|
CMD ["/usr/local/bin/python", "./run.py"]
|