UNCLASSIFIED

Commit 662c662f authored by Daniel Etrata's avatar Daniel Etrata
Browse files

Only copy tgz and install on tgz files

parent de858a55
Pipeline #244748 passed with stages
in 92 minutes and 32 seconds
......@@ -12,12 +12,12 @@ RUN dnf upgrade -y && \
dnf clean all && \
rm -rf /var/cache/dnf
COPY --from=source /app /app
COPY . /tgz
COPY *.tgz /tgz
RUN cd /app; \
find /tgz -type f -print -exec npm cache add {} \;
find /tgz -name *.tgz -type f -print -exec npm cache add {} \;
RUN cd /app; \
find /tgz -type f -print -exec npm install {} --prefer-offline --no-optional --no-audit --verbose \;
find /tgz -name *.tgz -type f -print -exec npm install {} --prefer-offline --no-optional --no-audit --verbose \;
EXPOSE 5000
# Remove special permission bits
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment