BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
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!!!

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.