-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from KathreftisAI/qa-release
Qa release
- Loading branch information
Showing
32 changed files
with
8,902 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.vscode/ | ||
__pycache__/ | ||
myenv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.