Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dummy Frontend
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Examples
Javascript
Dummy Frontend
Commits
f64b075a
Commit
f64b075a
authored
May 22, 2024
by
Dmitriy Safronov
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile
Signed-off-by:
Dmitriy Safronov
<
zimniy@cyberbrain.pw
>
parent
4bd36235
No related branches found
No related tags found
No related merge requests found
Pipeline
#39969
passed
May 23, 2024
Stage: build
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
with
3 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
f64b075a
# VERSIONS
ARG
NODE_VERSION=20.1
1
.1
ARG
NGINX_VERSION=1.2
5.4
ARG
NODE_VERSION=20.1
3
.1
ARG
NGINX_VERSION=1.2
6.0
# --------------> The builder image
FROM
node:$NODE_VERSION
AS
builder
ENV
NODE_ENV production
WORKDIR
/app
# Install NPM with version
ARG
NPM_VERSION=10.
5
.0
ARG
NPM_VERSION=10.
8
.0
RUN
npm
install
-g
npm@
$NPM_VERSION
# Install dependencies
COPY
package*.json ./
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment