UNCLASSIFIED

Commit de858a55 authored by Daniel Etrata's avatar Daniel Etrata
Browse files

Uncomment pipeline specific code

parent 1d351beb
Pipeline #244434 failed with stages
in 106 minutes and 33 seconds
......@@ -12,8 +12,7 @@ RUN dnf upgrade -y && \
dnf clean all && \
rm -rf /var/cache/dnf
COPY --from=source /app /app
COPY artifacts/tgz/ /tgz
# COPY . /tgz
COPY . /tgz
RUN cd /app; \
find /tgz -type f -print -exec npm cache add {} \;
......@@ -31,7 +30,7 @@ RUN chown common-kflogin:common-kflogin $ENTRYPOINT_EXEC
RUN chmod +x $ENTRYPOINT_EXEC && \
find /app/node_modules -type f \( -iname \*.key -o -iname \*.pem -o -iname \*.priv \) -exec rm -f {} \;
RUN chown common-kflogin:common-kflogin /home/node
# USER common-kflogin
# ##### END PERMISSION REQUIREMENTS #####
# HEALTHCHECK CMD curl --fail http://localhost:5000 || exit 1
# CMD /app/node_modules/.bin/ecstatic build --port 5000 --baseDir kflogin
USER common-kflogin
##### END PERMISSION REQUIREMENTS #####
HEALTHCHECK CMD curl --fail http://localhost:5000 || exit 1
CMD /app/node_modules/.bin/ecstatic build --port 5000 --baseDir kflogin
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