Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
yedajiang44 committed Sep 17, 2024
1 parent e8df4a2 commit 904158b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
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"]
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ services:
context: .
dockerfile: Dockerfile
tags:
- docker.yedajiang44.com/yedajiang44/jt808terminalemulator:bate-1.6
- yedajiang44/jt808terminalemulator:bate-1.6
- docker.yedajiang44.com/yedajiang44/jt808terminalemulator
- docker.yedajiang44.com/yedajiang44/jt808terminalemulator:bate-1.6
- registry.cn-hangzhou.aliyuncs.com/yedajiang44/jt808terminalemulator
- registry.cn-hangzhou.aliyuncs.com/yedajiang44/jt808terminalemulator:bate-1.6
container_name: api
hostname: api
Expand Down

0 comments on commit 904158b

Please sign in to comment.