We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd8e6c commit 3f14faeCopy full SHA for 3f14fae
Dockerfile
@@ -1,7 +1,10 @@
1
-FROM node:18-bullseye
+FROM seanyl/deepgit:latest
2
+
3
WORKDIR /app
-COPY package.json package-lock.json ./
4
-RUN npm install --legacy-peer-deps
5
-COPY . .
6
-RUN npm run build
7
-CMD ["npm", "start"]
+# Remove problematic dependencies and force a fresh install
+RUN rm -rf node_modules package-lock.json && \
+ npm cache clean --force && \
8
+ npm install --force
9
10
+CMD ["npm", "start"]
0 commit comments