Updated Continerfiles to minimize size
This commit is contained in:
@@ -29,11 +29,12 @@ RUN npm prune --production
|
||||
# ---------------
|
||||
FROM docker.io/almalinux/9-init
|
||||
|
||||
RUN dnf update -y \
|
||||
RUN printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf \
|
||||
&& dnf update -y \
|
||||
&& dnf module -y enable nodejs:18 \
|
||||
&& dnf install -y nodejs \
|
||||
&& dnf clean all \
|
||||
&& rm -fr /tmp/*
|
||||
&& rm -rf /var/cache/* /var/log* /tmp/*
|
||||
|
||||
WORKDIR /RTL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user