-
Notifications
You must be signed in to change notification settings - Fork 13
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 #110 from magfest/next
Updating python libraries
- Loading branch information
Showing
26 changed files
with
230 additions
and
686 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.6.14 | ||
FROM python:3.12.3 as build | ||
MAINTAINER RAMS Project "[email protected]" | ||
LABEL version.sideboard ="1.0" | ||
WORKDIR /app | ||
|
@@ -69,11 +69,23 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux- | |
# required for python-prctl | ||
RUN apt-get update && apt-get install -y libcap-dev && rm -rf /var/lib/apt/lists/* | ||
|
||
ADD . /app/ | ||
RUN pip3 install virtualenv \ | ||
&& virtualenv --always-copy /app/env \ | ||
&& /app/env/bin/pip3 install paver "setuptools<58" | ||
&& /app/env/bin/pip3 install paver | ||
|
||
ADD requirements.txt requirements.txt | ||
ADD test_requirements.txt test_requirements.txt | ||
ADD setup.py setup.py | ||
ADD sideboard/_version.py sideboard/_version.py | ||
ADD pavement.py pavement.py | ||
|
||
RUN /app/env/bin/paver install_deps | ||
ADD . /app/ | ||
|
||
FROM build as test | ||
RUN /app/env/bin/pip install mock pytest | ||
CMD /app/env/bin/python3 -m pytest | ||
|
||
FROM build as release | ||
CMD /app/env/bin/python3 /app/sideboard/run_server.py | ||
EXPOSE 8282 | ||
EXPOSE 8282 |
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
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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
cherrypy==17.3.0 | ||
configobj>=5.0.5 | ||
Jinja2>=2.7 | ||
logging_unterpolation>=0.2.0 | ||
paver>=1.2.2 | ||
pip>=1.5.6 | ||
psutil>=5.4.1 | ||
python-prctl>=1.6.1; 'linux' in sys_platform | ||
redis==4.3.6 | ||
requests>=2.2.1 | ||
rpctools>=0.3.1 | ||
sh>=1.09 | ||
six>=1.5.2 | ||
SQLAlchemy>=1.1.0 | ||
wheel>=0.24.0 | ||
ws4py>=0.3.2 | ||
cherrypy==18.9.0 | ||
configobj==5.0.8 | ||
Jinja2==3.1.3 | ||
paver==1.3.4 | ||
pip==24.0 | ||
psutil==5.9.8 | ||
python-prctl==1.8.1; 'linux' in sys_platform | ||
redis==5.0.3 | ||
requests==2.31.0 | ||
rpctools==0.3.1 | ||
sh==2.0.6 | ||
six==1.16.0 | ||
SQLAlchemy==1.4.52 | ||
wheel==0.43.0 | ||
ws4py==0.5.1 |
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
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
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
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
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
Oops, something went wrong.