Skip to content

can't docker build api module ! #13919

Closed
Closed

Description

@sukai-cheng

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Hi there,
I run this code docker build -t langgenius/dify-api:0.15.3-20250218 api wrong !
Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Activity

  1. sukai-cheng commented on Feb 18, 2025

    @sukai-cheng
    Author

    Image

  2. added
    🐞 bug
    on Feb 18, 2025
  3. dosubot commented on Feb 18, 2025

    @dosubot

    I found some similar threads that might be helpful for your issue:

    1. How build Docker Image from API Source Code? - This discussion is unsolved and might contain relevant insights for your Docker build issue [1].

    2. 'cd dify/docker && docker build -t dify/dify:0.7.3 .' I want to build the docker image myself, but it always times out. I have used the content of the Chinese part in the Dockerfile. - This is another unsolved discussion that might provide some context or solutions to similar problems [2].

    For your specific issue with the apt-get update command, ensure that the command is followed by apt-get install in the same RUN command to avoid issues with outdated package lists. Also, check for network issues, outdated base images, or problems with package repositories [3].

    If you are using the Aliyun mirror, be aware of potential issues such as reliability, geographical limitations, and security risks. Make sure the mirror is trusted and secure [3].

    To continue talking to Dosu, mention @dosu.


    Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions