Skip to content

Commit

Permalink
removed unnecessary files and fixed shap errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-m-dev committed Dec 31, 2022
1 parent afcee4b commit 6e81fc3
Show file tree
Hide file tree
Showing 205 changed files with 17 additions and 149,576 deletions.
10 changes: 8 additions & 2 deletions docker/lab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,17 @@ ARG docker_filepath=docker/lab/files
RUN mkdir /root/wheel
COPY ${wheel_directory}/*.whl /root/wheel/
COPY ${docker_filepath}/requirements.txt /root/
RUN if [ ${USE_WHEELS} -eq 1 ] ; then pip install --no-index --find-links=/root/wheel -r /root/requirements.txt ; else pip install --no-cache-dir -r /root/requirements.txt ; fi
RUN if [ ${USE_WHEELS} -eq 1 ] ; \
then pip install --no-index --find-links=/root/wheel -r /root/requirements.txt ; \
else pip install --no-cache-dir -r /root/requirements.txt ; \
fi
RUN rm /root/wheel/*.whl

## Webserver
# these requirements need to be built, using wheels throws errors
COPY ${docker_filepath}/requirements-build.txt /root/
RUN pip install --no-cache-dir -r /root/requirements-build.txt

## Webserver
RUN rm /etc/apache2/sites-enabled/*
COPY ${docker_filepath}/ports.conf /etc/apache2/
RUN cp /etc/apache2/mods-available/rewrite* /etc/apache2/mods-enabled \
Expand Down
File renamed without changes.
9 changes: 0 additions & 9 deletions docker/lab/files/requirements-raspberrypi.txt

This file was deleted.

1 change: 0 additions & 1 deletion docker/lab/files/requirements-surprise-arm64.txt

This file was deleted.

1 change: 0 additions & 1 deletion docker/lab/files/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ xgboost==1.6.2
simplejson==3.17.2
requests==2.25.1
joblib==1.2.0
-e git+https://github.com/lacava/surprise.git@1.1.1.1#egg=scikit-surprise
9 changes: 8 additions & 1 deletion docker/machine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,16 @@ RUN apt-get update --fix-missing && apt-get install -y \
RUN mkdir /root/wheel
COPY ${wheel_directory}/*.whl /root/wheel/
COPY ${docker_filepath}/requirements.txt /root/
RUN if [ ${USE_WHEELS} -eq 1 ] ; then pip install --no-index --find-links=/root/wheel -r /root/requirements.txt ; else pip install --no-cache-dir -r /root/requirements.txt ; fi
RUN if [ ${USE_WHEELS} -eq 1 ] ; \
then pip install --no-index --find-links=/root/wheel -r /root/requirements.txt ; \
else pip install --no-cache-dir -r /root/requirements.txt ; \
fi
RUN rm -rf /root/wheel

# these requirements need to be built, using wheels throws errors
COPY ${docker_filepath}/requirements-build.txt /root/
RUN pip install --no-cache-dir -r /root/requirements-build.txt

# setup node environment
RUN npm install -g pm2 --silent --progress=false

Expand Down
1 change: 1 addition & 0 deletions docker/machine/files/requirements-build.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shap==0.39.0
11 changes: 0 additions & 11 deletions docker/machine/files/requirements-raspberrypi.txt

This file was deleted.

1 change: 0 additions & 1 deletion docker/machine/files/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ pydot==1.4.2
requests==2.25.1
xgboost==1.6.2
joblib==1.2.0
shap==0.37.0
1 change: 0 additions & 1 deletion docker/machine/files/requirements_shap.txt

This file was deleted.

Loading

0 comments on commit 6e81fc3

Please sign in to comment.