Browse Source

Closes #1666, resolves segfault during prisma db migration

pull/1761/head
Oleg Shvartsman 3 years ago
parent
commit
23bd1276a1
  1. 2
      .github/workflows/build-code.yml
  2. 8
      CHANGELOG.md
  3. 4
      Dockerfile

2
.github/workflows/build-code.yml

@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
node_version:
- 18
- 16
steps:
- name: Checkout code
uses: actions/checkout@v3

8
CHANGELOG.md

@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Changed
- Downgraded Node from v18 to v16 (Dockerfile) to resolve prisma SEGSEGV errors during db migration
(see https://github.com/prisma/prisma/issues/10649)
## 1.241.0 - 2023-03-01
### Changed

4
Dockerfile

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:18-slim as builder
FROM --platform=$BUILDPLATFORM node:16-slim as builder
# Build application and add additional files
WORKDIR /ghostfolio
@ -50,7 +50,7 @@ COPY package.json /ghostfolio/dist/apps/api
RUN yarn database:generate-typings
# Image to run, copy everything needed from builder
FROM node:18-slim
FROM node:16-slim
RUN apt update && apt install -y \
openssl \
&& rm -rf /var/lib/apt/lists/*

Loading…
Cancel
Save