Spaces:
Sleeping
Sleeping
anoderb commited on
Commit ·
f97c402
1
Parent(s): bba9553
fix: change Docker base image to node:18-slim and install openssl to resolve Prisma library compatibility
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
-
FROM node:18-
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 1 |
+
FROM node:18-slim
|
| 2 |
+
|
| 3 |
+
# Install openssl for Prisma compatibility
|
| 4 |
+
RUN apt-get update -y && apt-get install -y openssl && rm -rf /var/lib/apt/lists/*
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|