Skip to content

Commit

Permalink
prisma-fix (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmamaqi authored Dec 13, 2024
1 parent f14cabe commit 1db81c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions services/wiki/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/wiki/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "service_wiki",
"private": true,
"version": "0.26.0",
"version": "0.26.1",
"prisma": {
"seed": "tsx prisma/seed.ts"
},
Expand Down

0 comments on commit 1db81c6

Please sign in to comment.