-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8df4a2
commit 904158b
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 | ||
WORKDIR /app | ||
COPY .output . | ||
#设置端口 | ||
EXPOSE 80 | ||
ENTRYPOINT ["Jt808TerminalEmulator.Api"] | ||
COPY .output/linux-x64/ . | ||
EXPOSE 8080 | ||
ENV LANG=en_US.UTF-8 | ||
ENV TZ=Asia/Shanghai | ||
ENV DOTNET_USE_POLLING_FILE_WATCHER=true | ||
ENTRYPOINT ["./Jt808TerminalEmulator.Api"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters