Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -9,7 +9,10 @@ WORKDIR /app
|
|
9 |
RUN git clone https://github.com/al1abb/invoify .
|
10 |
|
11 |
# Install dependencies and build
|
12 |
-
|
|
|
|
|
|
|
13 |
RUN npm run build
|
14 |
|
15 |
|
@@ -26,4 +29,4 @@ COPY --from=build --chown=nextjs:nodejs /app/public ./public
|
|
26 |
USER nextjs
|
27 |
|
28 |
EXPOSE 3000
|
29 |
-
CMD npm start
|
|
|
9 |
RUN git clone https://github.com/al1abb/invoify .
|
10 |
|
11 |
# Install dependencies and build
|
12 |
+
# Using --no-fund and --no-audit to reduce noise in logs
|
13 |
+
RUN npm install --no-fund --no-audit
|
14 |
+
# You can optionally try to update glob to a newer version
|
15 |
+
# RUN npm install glob@latest --save-dev
|
16 |
RUN npm run build
|
17 |
|
18 |
|
|
|
29 |
USER nextjs
|
30 |
|
31 |
EXPOSE 3000
|
32 |
+
CMD npm start
|