Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -18,7 +18,10 @@ RUN apt-get update && \
|
|
18 |
apt-get install -y curl && \
|
19 |
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
20 |
apt-get install -y nodejs && \
|
21 |
-
npm install -g prisma
|
|
|
|
|
|
|
22 |
|
23 |
# Expose the necessary port
|
24 |
EXPOSE 7860/tcp
|
|
|
18 |
apt-get install -y curl && \
|
19 |
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
20 |
apt-get install -y nodejs && \
|
21 |
+
npm install -g prisma@5.4.2
|
22 |
+
|
23 |
+
# Create the necessary npm directory with appropriate permissions
|
24 |
+
RUN mkdir -p /.npm && chown -R 1000:0 /.npm
|
25 |
|
26 |
# Expose the necessary port
|
27 |
EXPOSE 7860/tcp
|