fix: pin Express to v4 to avoid path-to-regexp v8 breaking changes
This commit is contained in:
+1
-1
@@ -11,6 +11,6 @@ FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/dist ./dist
|
||||
COPY server.js .
|
||||
RUN npm install express
|
||||
RUN npm install express@4
|
||||
EXPOSE 80
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user