Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygo-agent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biluo Shen
ygo-agent
Commits
1c967466
Commit
1c967466
authored
Jul 19, 2024
by
sbl1996@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix host
parent
13e22951
Pipeline
#28501
passed with stages
in 1 minute and 26 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
1c967466
...
...
@@ -2,12 +2,12 @@ FROM python:3.10.14-bookworm as base
LABEL
Author="Hastur <sbl1996@gmail.com>"
WORKDIR
/usr/src/app
RUN
wget https://github.com/sbl1996/ygo-agent/releases/download/v0.1/0546_26550M.tflite
COPY
./ygoinf ./
COPY
./assets/log_conf.yaml ./
COPY
./scripts/code_list.txt ./
RUN
pip
install
-e
.
RUN
wget https://github.com/sbl1996/ygo-agent/releases/download/v0.1/0546_26550M.tflite
ENV
CHECKPOINT 0546_26550M.tflite
EXPOSE
3000
CMD
[ "uvicorn", "ygoinf.server:app", "--host", "
127.0.0.1
", "--port", "3000", "--log-config=log_conf.yaml" ]
CMD
[ "uvicorn", "ygoinf.server:app", "--host", "
0.0.0.0
", "--port", "3000", "--log-config=log_conf.yaml" ]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment