Skip to content

Commit 1b0aa1b

Browse files
committed
fix: 修复 Dockerfile 语法错误,移除 COPY 指令中的 shell 操作符
1 parent b5f9bb3 commit 1b0aa1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN wget -O - https://debian.neo4j.com/neotechnology.gpg.key | gpg --dearmor -o
2828
RUN mkdir -p /var/lib/neo4j/data /var/lib/neo4j/logs /var/lib/neo4j/import /var/lib/neo4j/plugins \
2929
&& chown -R neo4j:neo4j /var/lib/neo4j
3030

31-
# 复制 Neo4j 配置文件(如果需要自定义配置)
32-
COPY neo4j.conf /etc/neo4j/ 2>/dev/null || echo "No custom Neo4j config found, using defaults"
31+
# Neo4j 配置可以通过环境变量或挂载卷来自定义
32+
# 如需自定义配置,运行时使用: -v $(pwd)/neo4j.conf:/etc/neo4j/neo4j.conf
3333

3434
# 安装 Python 依赖
3535
RUN pip install --no-cache-dir \

0 commit comments

Comments
 (0)