Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
yugioh-ccb
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
MyCard
yugioh-ccb
Commits
a12b5240
Commit
a12b5240
authored
May 05, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker things
parent
2f291359
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
.dockerignore
.dockerignore
+8
-0
.gitignore
.gitignore
+2
-0
Dockerfile
Dockerfile
+24
-0
No files found.
.dockerignore
0 → 100644
View file @
a12b5240
__pycache__
*.py[cod]
cards.cdb
.git*
Dockerfile
.dockerignore
.gitignore
0 → 100644
View file @
a12b5240
__pycache__
*.py[cod]
Dockerfile
0 → 100644
View file @
a12b5240
FROM
debian:bookworm-slim as cards_cdb_fetcher
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
wget
\
ca-certificates
\
&&
rm
-rf
/var/lib/apt/lists/
*
WORKDIR
/app
RUN
wget
-O
cards.cdb https://cdn02.moecube.com:444/ygopro-database/zh-CN/cards.cdb
FROM
python:3.11-slim-bookworm
WORKDIR
/app
COPY
requirements.txt ./
RUN
pip
install
--no-cache-dir
-r
requirements.txt
COPY
. ./
COPY
--from=cards_cdb_fetcher /app/cards.cdb ./cards.cdb
RUN
python card_build.py
ENTRYPOINT
["python"]
CMD
["guess_card_game.py"]
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