mirror of
https://github.com/clearlinux/telemetrics-backend.git
synced 2026-09-06 22:01:47 +00:00
19 lines
522 B
Docker
19 lines
522 B
Docker
# Copyright (C) 2020 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
FROM clearlinux:latest
|
|
|
|
WORKDIR /srv/processing
|
|
|
|
RUN swupd bundle-add python3-basic
|
|
RUN mkdir -p /srv/processing
|
|
COPY ./processing .
|
|
COPY ./deployments/services/processing/. .
|
|
COPY ./utils/shared_utils/crash.py ./processing/crash.py
|
|
RUN pip3 install -r requirements.txt
|
|
RUN groupadd -r appuser && useradd -r -g appuser appuser
|
|
RUN chown -R appuser:appuser /srv/processing
|
|
|
|
USER appuser
|
|
|
|
CMD ["process.py", "ProcessCrashes", "--local-scheduler"]
|