Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ABSD
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
Container Registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
ABSD
Commits
f511f4e9
Commit
f511f4e9
authored
2 months ago
by
Simon Malesys
Browse files
Options
Downloads
Patches
Plain Diff
Fix the node alpine version for safety
parent
ecdb3bed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#150093
passed
2 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
2
View file @
f511f4e9
...
@@ -18,7 +18,7 @@ workflow:
...
@@ -18,7 +18,7 @@ workflow:
# Validate the fasta files if they have changed
# Validate the fasta files if they have changed
validate-fasta-files
:
validate-fasta-files
:
image
:
node:22-alpine
image
:
node:22-alpine
3.21
stage
:
validate
stage
:
validate
rules
:
rules
:
-
changes
:
-
changes
:
...
@@ -29,7 +29,7 @@ validate-fasta-files:
...
@@ -29,7 +29,7 @@ validate-fasta-files:
# Build the archive of the fasta files and compute the stats.
# Build the archive of the fasta files and compute the stats.
# Commit the files in the data folder, triggering another CI.
# Commit the files in the data folder, triggering another CI.
build-archive-and-stats
:
build-archive-and-stats
:
image
:
node:22-alpine
image
:
node:22-alpine
3.21
stage
:
archive
stage
:
archive
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
-
if
:
$CI_COMMIT_BRANCH == "master"
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
2
View file @
f511f4e9
# Builder image
# Builder image
# =============
# =============
FROM
node:22-alpine
AS
builder
FROM
node:22-alpine
3.21
AS
builder
WORKDIR
/usr/build
WORKDIR
/usr/build
# Copy only the relevant files to build the application
# Copy only the relevant files to build the application
...
@@ -22,7 +22,7 @@ RUN npm run build
...
@@ -22,7 +22,7 @@ RUN npm run build
# Production image
# Production image
# ================
# ================
FROM
node:22-alpine
FROM
node:22-alpine
3.21
WORKDIR
/usr/src/absd
WORKDIR
/usr/src/absd
ENV
NODE_ENV="production"
ENV
NODE_ENV="production"
...
...
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