Skip to content

Commit

Permalink
Merge pull request #70 from RizkyRajitha/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
RizkyRajitha authored Jun 9, 2024
2 parents 6b3c41b + 5456bc5 commit 98f4af5
Show file tree
Hide file tree
Showing 4 changed files with 8,182 additions and 7,685 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@ jobs:
# Maps tcp port 5432 on service container to the host
- 5432:5432

# strategy:
# matrix:
# node-version: [14.x]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js 14.x
- name: Set up Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- name: Cache node modules
uses: actions/cache@v2
Expand Down
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
Loading

0 comments on commit 98f4af5

Please sign in to comment.