Skip to content

Commit

Permalink
fix: make release 1 work
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed Jul 28, 2024
1 parent beb0abb commit 29e7f51
Show file tree
Hide file tree
Showing 78 changed files with 259 additions and 1,250 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
Expand Down Expand Up @@ -126,7 +124,6 @@ dmypy.json

bin/
include/
lib/
.idea/
bin
include
Expand All @@ -135,4 +132,3 @@ lib
pip-selfcheck.json
.idea/workspace.xml
*.xml
.idea/workspace.xml
247 changes: 129 additions & 118 deletions .idea/workspace.xml

Large diffs are not rendered by default.

20 changes: 8 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM python:3.7
FROM python:3.8

RUN pip install --upgrade pip
RUN pip install tornado==4.2
RUN pip install numpy
RUN pip install scikit-learn==0.20.4
RUN pip install pandas
RUN pip install xgboost
WORKDIR /code

# Expose the ports we're interested in
EXPOSE 8002
COPY ./requirements.txt /code/requirements.txt
COPY ./src /code/src

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

ADD source /generic-python/source
ADD application.py /generic-python/application.py
COPY ./main.py /code/

CMD ["python","/generic-python/application.py"]
EXPOSE 8002

CMD ["fastapi", "run", "main.py", "--port", "8002"]
2 changes: 1 addition & 1 deletion Dockerfile_old
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN pip install xgboost
EXPOSE 8002


ADD source /generic-python/source
ADD src /generic-python/source
ADD application.py /generic-python/application.py

CMD ["python","/generic-python/application.py"]
Expand Down
40 changes: 0 additions & 40 deletions app/app.py

This file was deleted.

59 changes: 0 additions & 59 deletions app/handlers/biclustering.py

This file was deleted.

59 changes: 0 additions & 59 deletions app/handlers/clustering.py

This file was deleted.

59 changes: 0 additions & 59 deletions app/handlers/ensemble.py

This file was deleted.

59 changes: 0 additions & 59 deletions app/handlers/nearestneighbours.py

This file was deleted.

Loading

0 comments on commit 29e7f51

Please sign in to comment.