Skip to content

Commit

Permalink
Add port to expose and nestmlmodules path to LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
babsey committed Jul 17, 2024
1 parent 2a348f2 commit fb555df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ RUN chmod +x /usr/local/bin/entrypoint.sh
COPY test-nest.sh /opt/test-nest.sh
RUN chmod +x /opt/test-nest.sh

EXPOSE 8080 52425 54286
EXPOSE 8080 52425 52426 54286
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
4 changes: 2 additions & 2 deletions src/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ RUN python3 -m pip install --upgrade pip && \
python3 -m pip install nest-desktop --pre && \
python3 -m pip uninstall nestml -y && \
python3 -m pip install --upgrade https://github.com/nest/nestml/archive/refs/heads/master.zip && \
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected]b1
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected]b2

RUN python3 -m pip install --force-reinstall --upgrade scipy

Expand All @@ -150,5 +150,5 @@ RUN chmod +x /usr/local/bin/entrypoint.sh
COPY test-nest.sh /opt/test-nest.sh
RUN chmod +x /opt/test-nest.sh

EXPOSE 8080 52425 54286
EXPOSE 8080 52425 52426 54286
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
2 changes: 1 addition & 1 deletion src/dev/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ nest --help
export MUSIC_ROOT_DIR='$HOME/.cache/music.install'
export MUSIC_ROOT=${MUSIC_ROOT_DIR}
MUSIC_PATH=${MUSIC_ROOT_DIR}
export LD_LIBRARY_PATH=${MUSIC_PATH}/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${MUSIC_PATH}/lib:'/tmp/nestmlmodules':$LD_LIBRARY_PATH
export PATH=${MUSIC_PATH}/bin:$PATH
export CPATH=${MUSIC_PATH}/include:$CPATH
export PYTHONPATH=${MUSIC_PATH}/lib/python3.8/site-packages:$PYTHONPATH
Expand Down

0 comments on commit fb555df

Please sign in to comment.