mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-29 05:15:35 -04:00
feat: dockerfiles
This commit is contained in:
parent
8398636f01
commit
7d149f5130
8 changed files with 44 additions and 3 deletions
11
memory-game/mg-backend/Dockerfile
Normal file
11
memory-game/mg-backend/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM python:3.12
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
COPY ./app /code/app
|
||||
|
||||
CMD ["fastapi", "run", "app/main.py", "--port", "80"]
|
Binary file not shown.
BIN
memory-game/mg-backend/memory_game.db.bak
Normal file
BIN
memory-game/mg-backend/memory_game.db.bak
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue