Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
32ab7f6e
Commit
32ab7f6e
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
update node to 21.1
parent
3ed2d714
No related branches found
No related tags found
1 merge request
!30
Add mermaid experimental validation
Pipeline
#115732
failed
1 year ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-5
5 additions, 5 deletions
Dockerfile
with
5 additions
and
5 deletions
Dockerfile
+
5
−
5
View file @
32ab7f6e
### Stage Install ###
FROM
node:2
0.9
-bookworm
as
install
FROM
node:2
1.1
-bookworm
-slim
as
install
...
...
@@ -11,7 +11,7 @@ RUN npm install
### STAGE: Dev
FROM
node:2
0.9
-bookworm
as
dev
FROM
node:2
1.1
-bookworm
-slim
as
dev
ARG
BASE_URL=/
ARG
MEILI_HOST=http://localhost:7700
ARG
MEILI_API_KEY=api_key
...
...
@@ -29,7 +29,7 @@ CMD ["npm", "run", "dev"]
### STAGE: Build ###
FROM
node:2
0.9
-bookworm
as
build
FROM
node:2
1.1
-bookworm
-slim
as
build
WORKDIR
/usr/src/app
COPY
--from=install /usr/src/app ./
...
...
@@ -37,7 +37,7 @@ COPY . /usr/src/app
RUN
npm run build
### STAGE: serve ###
FROM
node:2
0.9
-bookworm
as
serve
FROM
node:2
1.1
-bookworm
-slim
as
serve
WORKDIR
/usr/src/app
COPY
--from=build /usr/src/app/.output ./
...
...
@@ -46,7 +46,7 @@ CMD [ "node", "server/index.mjs"]
### STAGE: Generate ###
FROM
node:2
0.9
-bookworm
as
generate
FROM
node:2
1.1
-bookworm
-slim
as
generate
ARG
BASE_URL=/
ARG
MEILI_HOST=http://localhost:7700
ARG
MEILI_API_KEY
...
...
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