I added docker support to a abp application through visual studio. I am having issues setting the environement variable to production as shown below.
When I try to run the application from visual studio by clicking on docker compose button I hit error at ConfigureVirtualFileSystem in HttpApiHostModule.cs.
I have changed the value from development to production in the powershell $env, in the appsettings and launchsettings of the httpapi.host project, changed values in the docker-compose.debug file.
Am I missing some reference?
Also I am trying to enable https but more on that later.
Please help. Thank you
35 Answer(s)
-
0
Can you share the full error stack?
-
0
hi
It seems the app doesn't have permission to access the PFX file.
-
0
hi
this is the same docker command we used with .net 5.0 project.
How can we mitigate this?
tx
-
0
hi
Can you try to change the permissions of the pfx file? Or try to run docker with
root
-
0
Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file
BIO_new_file:no such file
The problem is still with the pfx file, please check whether it exists or its permissions.
ls -l
show the files and permissions. -
0
Do you have a dockerfile sample that uses the focal image as mentioned in your other threads.
Tx
-
0
Not yet, none of us are docker experts. We just search solutions on Google. : )
-
0
This question has been automatically marked as stale because it has not had recent activity.