Skip to content

Commit 235804e

Browse files
first commit
0 parents  commit 235804e

12 files changed

+918
-0
lines changed

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Byte-compiled
2+
__pycache__/
3+
4+
# Distribution / packaging
5+
build/
6+
dist/
7+
*.egg
8+
*.egg-info/
9+
10+
# Jupyter Notebook
11+
.ipynb_checkpoints/
12+
*.ipynb
13+
14+
# Suno-Downloads
15+
.downloads/
16+
17+
# Desktop Services Store
18+
.DS_Store
19+
20+
# PyPI setup.py
21+
setup.py
22+
23+
# Python venv
24+
.venv
25+
helper.txt

Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM python:3.11-slim
2+
3+
# Set the working directory inside the container
4+
WORKDIR /app
5+
6+
# Copy the requirements file to the working directory
7+
COPY requirements.txt .
8+
9+
# Install Requirements
10+
RUN pip3 install -U pip
11+
COPY requirements.txt .
12+
RUN pip3 install --no-cache-dir -U -r requirements.txt
13+
14+
# Copying All Source
15+
COPY . .
16+
17+
# Set Port
18+
EXPOSE 8080
19+
20+
# Run API Server
21+
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8080"]

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Malith Rukshan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Logo.png

56.4 KB
Loading

0 commit comments

Comments
 (0)