Skip to content
Snippets Groups Projects
Commit f511f4e9 authored by Simon Malesys's avatar Simon Malesys
Browse files

Fix the node alpine version for safety

parent ecdb3bed
No related branches found
No related tags found
No related merge requests found
Pipeline #150093 passed
...@@ -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-alpine3.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-alpine3.21
stage: archive stage: archive
rules: rules:
- if: $CI_COMMIT_BRANCH == "master" - if: $CI_COMMIT_BRANCH == "master"
......
# Builder image # Builder image
# ============= # =============
FROM node:22-alpine AS builder FROM node:22-alpine3.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-alpine3.21
WORKDIR /usr/src/absd WORKDIR /usr/src/absd
ENV NODE_ENV="production" ENV NODE_ENV="production"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment