memory-graph-neo4j / Dockerfile
Gemini CLI
Fix: Use git apply to patch server code
0be76ea
raw
history blame
436 Bytes
FROM node:22
WORKDIR /app
# Clone the repository
RUN git clone https://github.com/sylweriusz/mcp-neo4j-memory-server.git .
# Create and apply a patch to fix the server
COPY fix.patch .
RUN git apply fix.patch
# Install dependencies
RUN npm install
# Build the project
RUN npm run build
# Set the port for the Hugging Face Space
ENV PORT=7860
# Expose the port
EXPOSE 7860
# Start the HTTP server
CMD ["npm", "run", "start:http"]