Open msansen-esncf opened 2 months ago
Hi,
please find a way to launch it on docker :
FROM rust:latest WORKDIR /usr/bin RUN apk add musl-dev RUN cargo install dify-openai-apis CMD ["dify-openai-apis"]
to build the image: docker build --pull --rm -f "dockerfile.dockerfile" -t difyopenaiapis:0.1.8 "."
docker build --pull --rm -f "dockerfile.dockerfile" -t difyopenaiapis:0.1.8 "."
and a compose.yaml to launch it:
difyopenaiapis: image: "difyopenaiapis:0.1.8" container_name: difyopenaiapis environment: HOST: 0.0.0.0 PORT: 3000 DIFY_BASE_URL: "http://dify.api.to" DIFY_API_KEY: "app-******" DIFY_TIMEOUT: 20 WORKERS_NUM: 4 RUST_LOG: "debug" ports: - '8080:3000' restart: "always"
Regards
Hi,
please find a way to launch it on docker :
to build the image:
docker build --pull --rm -f "dockerfile.dockerfile" -t difyopenaiapis:0.1.8 "."
and a compose.yaml to launch it:
Regards