diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 8e2114f..fe335ff 100755 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -1,8 +1,9 @@ FROM registry.fedoraproject.org/fedora:39 -MAINTAINER "Telco5G Field Engineering Team" -RUN dnf -y install python3-pip gcc redhat-rpm-config python3-devel npm libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel +LABEL org.opencontainers.image.authors="Telco5G Field Engineering Team" +RUN dnf -y install python3-pip gcc redhat-rpm-config python3-devel npm libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel; dnf clean all +RUN dnf clean all COPY src/ /srv/ WORKDIR /srv -RUN pip3 install . +RUN pip3 install --no-cache-dir . RUN npm ci --prefix t5gweb/static EXPOSE 8080