From 1db81c6e2983d56637aa944508b79199b0ac539a Mon Sep 17 00:00:00 2001 From: Kevin Mamaqi Kapllani Date: Fri, 13 Dec 2024 08:51:14 +0100 Subject: [PATCH] prisma-fix (#1583) --- services/wiki/Dockerfile | 8 ++------ services/wiki/package.json | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/services/wiki/Dockerfile b/services/wiki/Dockerfile index 1725d850..8cae2e2b 100644 --- a/services/wiki/Dockerfile +++ b/services/wiki/Dockerfile @@ -1,8 +1,5 @@ # Stage 1: Building the application -FROM node:18-slim AS builder -RUN apk add --no-cache libc6-compat python3 make g++ && \ - if [ ! -e /usr/bin/python ]; then ln -s /usr/bin/python3 /usr/bin/python; fi -ENV PYTHON=/usr/bin/python +FROM node:18 AS builder WORKDIR /app COPY package*.json ./ RUN npm install @@ -19,8 +16,7 @@ COPY package*.json ./ RUN npm ci --only=production # Stage 3: Running the application -FROM node:18-slim -RUN apk add --no-cache openssl1.1-compat +FROM node:18 WORKDIR /app # Copy built code, node_modules and prisma directory from the builder stage diff --git a/services/wiki/package.json b/services/wiki/package.json index ad0407c6..35f00cb0 100644 --- a/services/wiki/package.json +++ b/services/wiki/package.json @@ -1,7 +1,7 @@ { "name": "service_wiki", "private": true, - "version": "0.26.0", + "version": "0.26.1", "prisma": { "seed": "tsx prisma/seed.ts" },