Skip to content

Commit

Permalink
set node version from latest alpine to 18 alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
RizkyRajitha committed Jun 9, 2024
1 parent df2121c commit afdae20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG DATABASE_URL
ARG HASHSALT
ARG RAILWAY=0
# Install dependencies only when needed
FROM node:alpine AS deps
FROM node:18-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.

ENV NEXT_TELEMETRY_DISABLED 1
Expand All @@ -16,7 +16,7 @@ RUN npm ci


# Rebuild the source code only when needed
FROM node:alpine AS builder
FROM node:18-alpine AS builder

ARG DATABASE_URL
ARG RAILWAY=0
Expand All @@ -38,7 +38,7 @@ RUN npm run build-next
#&& yarn install --production --ignore-scripts --prefer-offline

# Production image, copy all the files and run next
FROM node:alpine AS runner
FROM node:18-alpine AS runner

ARG DATABASE_URL
ARG HASHSALT
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkin",
"version": "0.5.1",
"version": "0.5.2",
"private": true,
"license": "MIT",
"description": "Linkin is a customizable self hosted link tree application",
Expand Down

0 comments on commit afdae20

Please sign in to comment.