Skip to content

Commit

Permalink
chore: upgrade fe image to use node v20 and bump fe version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmijatovic committed Aug 31, 2023
1 parent 77711b9 commit 746b9b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ services:
# dockerfile to use for build
dockerfile: Dockerfile
# update version number to correspond to frontend/package.json
image: rsd/frontend:2.0.0
image: rsd/frontend:2.0.1
environment:
# it uses values from .env file
- POSTGREST_URL
Expand Down
6 changes: 4 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2021 - 2022 Dusan Mijatovic (dv4all)
# SPDX-FileCopyrightText: 2021 - 2022 dv4all
# SPDX-FileCopyrightText: 2023 Dusan Mijatovic (Netherlands eScience Center)
# SPDX-FileCopyrightText: 2023 Netherlands eScience Center
#
# SPDX-License-Identifier: Apache-2.0

Expand All @@ -10,7 +12,7 @@
# ----------------------------------------
# 1. Install dependencies only when needed
# ----------------------------------------
FROM node:18.5-buster-slim AS deps
FROM node:20.5-slim AS deps

WORKDIR /app

Expand Down Expand Up @@ -45,7 +47,7 @@ RUN yarn build
# ----------------------------------------
# 3. Production image (standalone mode)
# ----------------------------------------
FROM node:18.5-buster-slim AS runner
FROM node:20.5-slim AS runner

# optional install updates
# RUN apt-get upgrade -y
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rsd-frontend",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 746b9b0

Please sign in to comment.