Skip to content

Commit

Permalink
Merge pull request #13 from fedora-ci/feature-osci4214
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrabovsky authored Dec 1, 2022
2 parents ec34edc + ac9d2fa commit 6c2294e
Show file tree
Hide file tree
Showing 3 changed files with 11,199 additions and 1,032 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM registry.access.redhat.com/ubi8/nodejs-14
# Based on https://github.com/sclorg/s2i-nodejs-container
FROM quay.io/sclorg/nodejs-18-c8s
ARG ADDPKGS=""
ARG NPMLOCATION="open"
USER root
Expand All @@ -13,6 +14,7 @@ COPY "assets" "$HOME/assets/"
COPY "package.json" "package-lock.json" "env.sh" "tsconfig.json" "$HOME/"
RUN echo "Use location: $NPMLOCATION"
COPY ".npmrcs/$NPMLOCATION" ".npmrc"
RUN chmod a+w "$HOME/package-lock.json"

# USER doesn't impact on COPY
USER 1001
Expand Down
Loading

0 comments on commit 6c2294e

Please sign in to comment.