Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Imran Hussain
Marvin
Commits
923ea47f
Commit
923ea47f
authored
Sep 22, 2021
by
Imran Hussain
Browse files
Merge branch 'kaniko_fix' into 'master'
Pin to node:12 docker image See merge request
!5
parents
270f3bfa
0277a52a
Pipeline
#791
passed with stages
in 10 minutes and 18 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
923ea47f
#What image should our image be based off of?
FROM
node:
lts
FROM
node:
12
RUN
mkdir
-p
/opt/nodeapp/node_modules
&&
chown
-R
node:node /opt/nodeapp
...
...
@@ -15,4 +15,4 @@ RUN npm ci --only=production
COPY
--chown=node:node . .
#Chnage this if you want a different file to be run first instead
CMD
[ "node", "index.js" ]
\ No newline at end of file
CMD
[ "node", "index.js" ]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment