Skip to content

Commit

Permalink
revert[#140]: rollback Docker Node.js version to 21.6.1-alpine3.18 du…
Browse files Browse the repository at this point in the history
…e to alpine errors
  • Loading branch information
shimisnow committed Nov 11, 2024
1 parent 0daa063 commit d1b68d1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:23.1.0-alpine3.20
FROM node:21.6.1-alpine3.18

ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
Expand All @@ -7,9 +7,4 @@ WORKDIR /home/node/app

COPY package*.json ./

# this is here because without it, it will not generate the image
# something is wrong with the Docker Hub image
# see: https://github.com/nodejs/docker-node/issues/2153
RUN npm config set loglevel verbose

RUN npm ci --no-audit

0 comments on commit d1b68d1

Please sign in to comment.