- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
16 lines
430 B
Docker
Executable File
16 lines
430 B
Docker
Executable File
FROM python:3.12-slim-bookworm
|
|
|
|
WORKDIR /app
|
|
|
|
COPY backend/requirements.txt ./
|
|
RUN pip install --root-user-action=ignore --no-cache-dir -r requirements.txt
|
|
|
|
COPY backend/app ./backend/app/
|
|
COPY run.py ./
|
|
COPY frontend ./frontend/
|
|
|
|
RUN useradd --uid 10001 --user-group --no-create-home --shell /usr/sbin/nologin chrome-ledger \
|
|
&& install -d -m 0700 -o chrome-ledger -g chrome-ledger /var/lib/chrome-ledger
|
|
|
|
USER chrome-ledger
|