Skip to content

Commit acfd950

Browse files
omni-frontpokemon918xfactor-tomlOmni-Omegaphantomdev0826
committed
Add Dockerfile for containerized deployment
Co-authored-by: pokemon918 <[email protected]> Co-authored-by: xfactor-toml <[email protected]> Co-authored-by: omni-omega <[email protected]> Co-authored-by: phantomdev0826 <[email protected]>
1 parent 58a5765 commit acfd950

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM python:3.11-slim\n\nWORKDIR /app\n\nCOPY requirements.txt .\nRUN pip install --no-cache-dir -r requirements.txt\n\nCOPY . .\n\nEXPOSE 8000\n\nCMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]

0 commit comments

Comments
 (0)