Open Closed

docker build angular ui and deploy to docker solution #1572


User avatar
0
tolo created

hi, abp team

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

runtime: centos&docker nginx(static html)

I packaged the angluar project on my local Windows system and deployed it as a static file on nginx on my centos server; pack cli : yarn build:prod

There is no exception on the page, but the login button cannot be clicked;

My doubts: 1.Whether the angluar project must be on linux to build? 2.Is there a Dockerfile scheme for reference?


4 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    I guess you are using HTTP.

    Try

    environment.prod.ts

      oAuthConfig: {
        issuer: 'https://localhost:44305',
        redirectUri: baseUrl,
        clientId: 'MyProjectName_App',
        responseType: 'code',
        scope: 'offline_access openid profile role email phone MyProjectName',
        requireHttps: false // this line
      },
    
  • User Avatar
    0
    tolo created

    Results still the same, login button cannot be clicked;

  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Is there any error logs?

  • User Avatar
    0
    tolo created

    I misread it. That's it。 thank you liangshiwei laotie!!!

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 08, 2026, 13:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.