feat(docker): add custom Dockerfile for patch support
- Add Dockerfile.patch based on official langgenius/dify-api:1.5.1 image - Installs git to enable automatic patch application at container startup - Facilitates robust deployment of custom code changes via patch filespull/21981/head
parent
7dcfc171cc
commit
d050e64cde
@ -0,0 +1,8 @@
|
|||||||
|
FROM langgenius/dify-api:1.5.1
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN apt-get update && apt-get install -y git \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
USER app
|
||||||
|
|
||||||
|
# docker build -f docker/Dockerfile.patch -t land007/dify-api:1.5.1 .
|
||||||
Loading…
Reference in New Issue