Skip to content

Commit

Permalink
Merge pull request #5 from KathreftisAI/qa-release
Browse files Browse the repository at this point in the history
Qa release
  • Loading branch information
abhishekunotech authored Apr 18, 2024
2 parents 7db4b99 + 54b652f commit 0b369f8
Show file tree
Hide file tree
Showing 32 changed files with 8,902 additions and 416 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vscode/
__pycache__/
myenv/
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM python:3.10-slim

# Set the working directory to /app
WORKDIR /app

COPY requirements.txt /app/requirements.txt

# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Install Flask
RUN pip install flask

# Make port 5000 available to the world outside this container
EXPOSE 8000

# Define environment variable
ENV CONFIG_FILE_PATH=/app/config.yaml

# Copy the contents of the local directory into the container at /app
COPY . /app

# Run your FastAPI application
CMD ["uvicorn", "policy_mapping:app", "--host", "0.0.0.0", "--port", "5000"]
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion README.md

This file was deleted.

Binary file added __pycache__/api_json.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/api_json1.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/api_json2.cpython-310.pyc
Binary file not shown.
Loading

0 comments on commit 0b369f8

Please sign in to comment.