Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用docker做成images后无法启动 #5

Closed
z514987467 opened this issue Aug 22, 2020 · 4 comments
Closed

用docker做成images后无法启动 #5

z514987467 opened this issue Aug 22, 2020 · 4 comments

Comments

@z514987467
Copy link

用docker做成images后,启动报错

An assembly specified in the application dependencies manifest (WebApi.deps.json) was not found:
  package: 'HPSocket.Net', version: '5.7.2'
  path: 'runtimes/linux-x64/native/libhpsocket4c.so'

是不是.NET CORE平台开发的,在linux平台下的Docker打镜像不行,我用windows平台下的Docker打镜像可以

@int2e
Copy link
Owner

int2e commented Aug 22, 2020

可以 你打包成独立文件吧,就是发布成独立文件,一个可执行文件那种

@int2e
Copy link
Owner

int2e commented Sep 5, 2020

确定 runtimes/linux-x64/native/libhpsocket4c.so 这个文件存在吗,非独立的时候

@z514987467
Copy link
Author

确定 runtimes/linux-x64/native/libhpsocket4c.so 这个文件存在吗,非独立的时候

之前是我打成独立文件有点问题,现在打包成独立文件,选择linux-x64平台,没问题不报错误了,

@int2e
Copy link
Owner

int2e commented Sep 13, 2020

ok,恭喜

@int2e int2e closed this as completed Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants