From 869a4d4b6ca48ae75888ed6ce9bca559a14d9a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bj=C3=B6rk?= Date: Fri, 6 Dec 2024 11:32:06 +0100 Subject: [PATCH 1/2] fix image compatability with prisma --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5022e36..ef684eea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM node:lts-alpine3.20 RUN apk update RUN apk add --no-cache \ diff --git a/README.md b/README.md index 722ccf43..ea65ab48 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Next time, you can start the containers back up using docker start garbo_redis garbo_postgres garbo_chroma garbo_ingestor ``` -You may want a graphical user interface to make it easier to manage your local containers. [Podman desktop](https://podman-desktop.io/) and [Rancher desktop](https://rancherdesktop.io/) are both good alternatives. +You may want a graphical user interface to make it easier to manage your local containers. [Podman desktop](https://podman-desktop.io/) and [Rancher desktop](https://rancherdesktop.io/) are both good alternatives ### Seeding the database for development From fcc8db5f39f771887bf023f101df84947fe17495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bj=C3=B6rk?= Date: Fri, 6 Dec 2024 11:33:17 +0100 Subject: [PATCH 2/2] remove node and npm explicit add --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef684eea..b046046b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,6 @@ FROM node:lts-alpine3.20 RUN apk update RUN apk add --no-cache \ - nodejs=22.11.0-r0 \ - npm=10.9.1-r0 \ chromium \ nss \ freetype \ @@ -20,7 +18,7 @@ RUN apk add --no-cache \ giflib-dev \ libjpeg-turbo-dev \ ghostscript \ - graphicsmagick=1.3.45-r0 + graphicsmagick COPY package*.json /app/ COPY prisma /app/